CVE-2024-43787
CVSS V2 None
CVSS V3 None
Description
Hono is a Web application framework that provides support for any JavaScript runtime. Hono CSRF middleware can be bypassed using crafted Content-Type header. MIME types are case insensitive, but isRequestedByFormElementRe only matches lower-case. As a result, attacker can bypass csrf middleware using upper-case form-like MIME type. This vulnerability is fixed in 4.5.8.
Overview
- CVE ID
- CVE-2024-43787
- Assigner
- GitHub_M
- Vulnerability Status
- PUBLISHED
- Published Version
- 2024-08-22T14:23:44.025Z
- Last Modified Date
- 2024-08-22T15:40:32.051Z
Weakness Enumerations
References
Reference URL | Reference Tags |
---|---|
https://github.com/honojs/hono/security/advisories/GHSA-rpfr-3m35-5vx5 | x_refsource_CONFIRM |
https://github.com/honojs/hono/commit/41ce840379516410dee60c783142e05bb5a22449 | x_refsource_MISC |
https://github.com/honojs/hono/blob/b0af71fbcc6dbe44140ea76f16d68dfdb32a99a0/src/middleware/csrf/index.ts#L16-L17 | x_refsource_MISC |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2024-43787 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-43787 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2024-08-23 13:08:00 | Added to TrackCVE |