hono is vulnerable to Regular Expression Denial of Service (ReDoS)
45
Medium Risk
Affected versions of this package use a regular expression to split accept headers (e.g. Accept-Language) in the accept parsing utilities. A crafted header with many segments can trigger catastrophic backtracking and cause exponential CPU time, leading to denial of service. In proxy setups without header size limits, an attacker can send a malicious Accept-Language value that ties up the process for minutes. The patch replaces the regex-based split with a non-regex implementation to remove the ReDoS behavior.
You are affected if you are using a version that falls within the vulnerable range.
hono is vulnerable to Regular Expression Denial of Service (ReDoS) in versions 0.0.1 - 4.12.5.
Upgrade the hono library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant