Cache metadata disclosure via overflowing range totals
Published Aug 22, 2023 · Updated Oct 3, 2024
Integer overflow in Tengine 2.2.2's Nginx range filter allows remote attackers to disclose cache metadata via crafted HTTP Range requests. The ngx_http_range_parse function adds each parsed byte-range length to a cumulative size without checking whether the addition exceeds the offset type, allowing the total to wrap and accept negative-start ranges. Exploitation requires an unauthenticated request for a cached response; standard modules expose the cache-file header, and no broader standard-module impact is reported.
Summary
What happened
Integer overflow in Tengine 2.2.2's Nginx range filter allows remote attackers to disclose cache metadata via crafted HTTP Range requests. The ngx_http_range_parse function adds each parsed byte-range length to a cumulative size without checking whether the addition exceeds the offset type, allowing the total to wrap and accept negative-start ranges. Exploitation requires an unauthenticated request for a cached response; standard modules expose the cache-file header, and no broader standard-module impact is reported.
The record
- CVE
- CVE-2020-21699
- Published
- Aug 22, 2023
- Updated
- Oct 3, 2024
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-190, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 22, 2023CVE publishedPublication date reported by the CVE source.
- Oct 3, 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?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
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.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
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