CVE-2024-48913 json
Hono vulnerable to bypass of CSRF Middleware by a request without Content-Type header.
published 2y ago modified 2mo ago also EUVD-2024-2898 , GHSA-2234-fmw7-43wr
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 25%
- public exploits
- 0
- none known
Summary
Hono, a web framework, prior to version 4.6.5 is vulnerable to bypass of cross-site request forgery (CSRF) middleware by a request without Content-Type header. Although the CSRF middleware verifies the Content-Type Header, Hono always considers a request without a Content-Type header to be safe. This can allow an attacker to bypass CSRF protection implemented with Hono CSRF middleware. Version 4.6.5 fixes this issue.
Patch / fix
Is CVE-2024-48913 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2y ago
Exploit prediction
0.33% chance of exploitation in the next 30 days, higher than 25% of all scored CVEs (FIRST EPSS, 2026-11-11).
Exploits and checks
- github.com https://github.com/honojs/hono/security/advisories/GHSA-2234-fmw7-43wr referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N |
| GitHub | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | hono | <4.6.5 |
4.6.5 |
Affected products
- honojs hono
- hono hono
Classification
- Weakness
-
- CWE-352 Cross-Site Request Forgery
References
-
github.com
/honojs/hono/commit/aa50e0ab77b5af8c53c50fe3b271892f8eeeea82
web, patch
-
github.com
/honojs/hono/security/advisories/GHSA-2234-fmw7-43wr
web, exploit, vendor-advisory, advisory
-
github.com
/honojs/hono/blob/cebf4e87f3984a6a034e60a43f542b4c5225b668/src/middleware/csrf/index.ts#L76-L89
web, product
-
nvd.nist.gov
/vuln/detail/CVE-2024-48913
advisory
-
github.com
/honojs/hono
package
Sources
- CVE List CVE-2024-48913
- GitHub Advisory GHSA-2234-fmw7-43wr
- NVD CVE-2024-48913
- Maintainer advisory GHSA-2234-fmw7-43wr
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of honojs/hono published their own advisory on GitHub. Reviewed sources take precedence over it.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.