Kritische IP-Bypass-Lücke in Hono-Framework Version 4.12.0 und 4.12.1 (CVE-2026-27700)
⚠️ CVE-Referenzen:
CVE-2026-27700
Zusammenfassung
Eine kritische Sicherheitslücke in den Versionen 4.12.0 und 4.12.1 des Hono-Webframework erlaubt es Angreifern, IP-basierte Zugriffskontrollen zu umgehen. Der Fehler tritt bei Verwendung des AWS Lambda-Adapters auf, wenn der "getConnInfo()"-Funktion die falsche IP-Adresse aus dem "X-Forwarded-For"-Header übergeben wird. Ein Patch in Version 4.12.2 behebt das Problem.
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.
Quelle: app.opencve.io