Hono: API Gateway v1 adapter can drop a distinct repeated request header value during de-duplication
honojs hono
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| hono npm |
|
|
Original description
Hono is a Web application framework that provides support for any JavaScript runtime. From 4.3.3 before 4.12.27, the AWS API Gateway v1 adapter can drop a distinct repeated request header value because it de-duplicates values using a substring comparison instead of an exact match, so middleware or application logic that depends on the complete X-Forwarded-For chain, rate limiting, audit logging, or proxy-chain validation can receive incomplete data. This issue is fixed in version 4.12.27.
From the CVE record · GitHub_M