Hono
Hono is Vulnerable to Authentication Bypass by IP Spoofing in AWS Lambda ALB conninfo
Hono is a Web application framework that provides support for any JavaScript runtime. In versions 4.12.0 and 4.12.1, when using the AWS Lambda adapter (`hono/aws-lambda`) behind an Application Load Balancer (ALB), the `getConnInfo()` function incorrectly selected the first value from the `X-Forwarded-For` header. Because AWS ALB appends the real client IP address to the end of the `X-Forwarded-For` header, the first value can be attacker-controlled. This could allow IP-based access control mechanisms (such as the `ipRestriction` middleware) to be bypassed. Version 4.12.2 patches the issue.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 4.12.0, < 4.12.2
Fixed in 4.12.2
Mitigation
Upgrade hono to 4.12.2 or later.
References
- Vendor advisory github.com/honojs/hono/security/advisories/GHS…
- Patch github.com/honojs/hono/commit/41adbf56e252c046…
- Release notes github.com/honojs/hono/releases/tag/v4.12.2
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.