Proxy crash via stale Origin header pointer
Published Jul 25, 2023 · Updated Oct 24, 2024
Use-after-free in Envoy's HTTP CORS filter allows remote authenticated users to crash affected proxy releases via Origin removal. decodeHeaders retains a pointer to the Origin header after configured request processing deletes it, and encodeHeaders dereferences the stale pointer. Exploitation requires the CORS filter and request_headers_to_remove: origin configuration; the resulting segfault interrupts the proxy service.
Summary
What happened
Use-after-free in Envoy's HTTP CORS filter allows remote authenticated users to crash affected proxy releases via Origin removal. decodeHeaders retains a pointer to the Origin header after configured request processing deletes it, and encodeHeaders dereferences the stale pointer. Exploitation requires the CORS filter and request_headers_to_remove: origin configuration; the resulting segfault interrupts the proxy service.
The record
- CVE
- CVE-2023-35943
- Published
- Jul 25, 2023
- Updated
- Oct 24, 2024
- Vendor
- Envoy Proxy
- Product
- Envoy
- Classifications
- CWE-416, T1499.004
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 25, 2023CVE publishedPublication date reported by the CVE source.
- Oct 24, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 1.23.12
- Affected versionversion=>= 1.24.0, < 1.24.10
- Affected versionversion=>= 1.25.0, < 1.25.9
- Affected versionversion=>= 1.26.0, < 1.26.4
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- CORS Origin-removal configuration proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo