Input validation error in hono - CVE-2024-43787

 

Input validation error in hono - CVE-2024-43787

Published: August 22, 2024 / Updated: July 24, 2026


Vulnerability identifier: #VU139328
CSH Severity: Medium
CVSS v4: 1.8 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-43787
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass csrf protection.

The vulnerability exists due to improper input validation in the csrf middleware when handling requests with crafted Content-Type headers. A remote attacker can send a specially crafted request with an upper-case form-like MIME type to bypass csrf protection.

User interaction is required to trigger the crafted request.


Affected software

hono

How to mitigate CVE-2024-43787

Install security update from vendor's website.

hono - update to 4.5.8

External References

Related Security Bulletins