CVE-2025-71381
MEDIUM
6.5
CVSS 3.1
Description
Hono before 4.10.2 (fixed in 4.10.3) contains a flaw in its CORS middleware: when the origin is not set to "*", the middleware copies the Vary header from the incoming request into the response. Because Vary is a response header that should be managed by the server, an attacker can supply arbitrary Vary values that are reflected into the response, potentially causing cache key pollution and inconsistent CORS enforcement in environments that rely on shared caches or proxies.
Metadata
Severity & Metrics
6.5
MEDIUM CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
SSVC — CISA Coordinator
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| Hono | Hono | — | 0 < 4.10.2, 4.10.2 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-113 | cna | Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') |
CVSS scores (2)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 6.9 | MEDIUM | 4.0 | cna | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N |
| 6.5 | MEDIUM | 3.1 | cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
References (2)
- GitHub Security Advisory (GHSA-q7jf-gf43-6x6p) https://github.com/honojs/hono/security/advisories/GHSA-q7jf-gf43-6x6p
- VulnCheck Advisory: Hono - Vary Header Injection in CORS Middleware https://www.vulncheck.com/advisories/hono-vary-header-injection-in-cors-middleware