Advisories

Hono 4.5.1 before 4.13.18 Validation Bypass via Content-Type Formatting

Go back
Severity
medium
Date
Affecting
  • hono >= 4.5.1, < 4.13.18

CWE
  • CWE-20 Improper Input Validation
CVSS
6.9
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Credit
fizzbeom, caerrot, sumanene, ongteckwu, Pablo152, xpcmdshell
Description
Hono from 4.5.1 before 4.13.18 contains a validation bypass vulnerability in validator('json') and validator('form') that allows unauthenticated attackers to skip validation by formatting Content-Type parameters differently. Attackers can add whitespace before semicolons, trailing semicolons, or underscored parameter names so validators receive empty objects while handlers still read rejected fields.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.