Out-of-bounds Read in Apache Portable Runtime
CVE-2021-35940
An out-of-bounds array read in the apr_time_exp*() functions was fixed in the Apache Portable Runtime 1.6.3 release (CVE-2017-12613). The fix for this issue was not carried forward to the APR 1.7.x branch, and hence version 1.7.0 regressed compared to 1.6.3 and is vulnerable to the same issue.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H.
EPSS exploit prediction
EPSS 0.012, 68.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Apache Portable Runtime — versions 1.7.0
- Apache Software Foundation Portable Runtime (Apr) — versions Apache Portable Runtime 1.7.0
- Oracle HTTP Server — versions 12.2.1.3.0, 12.2.1.4.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 6 other repositories (a23au/awe-base-images, ARPSyndicate/cvemon, jercle/awe-base-images, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- svn.apache.org/viewvc (Vendor Advisory)
- mail-archives.apache.org/mod_mbox/www-announce/201710.mbox/<CACsi251B8UaLvM-rrH…
- dist.apache.org/repos/dist/release/apr/patches/apr-1.7.0-CVE-2021-35940.patch (Patch, Vendor Advisory)
- lists.apache.org/thread.html/ra2868b53339a6af65577146ad87016368c138388b09bff9d2… (Mailing List, Vendor Advisory)
- [oss-security] 20210823 CVE-2021-35940: Apache Portable Runtime (APR): Regression of CVE-2017-12613 (mailing-list, Mailing List, Third Party Advisory)
- [announce] 20210823 CVE-2021-35940: Apache Portable Runtime (APR): Regression of CVE-2017-12613 (mailing-list)
- [apr-dev] 20210831 APR 1.7.1 release? (mailing-list)
- [httpd-dev] 20210831 APR 1.7.1 release? (mailing-list)
- [apr-dev] 20210831 Re: APR 1.7.1 release? (mailing-list)
- [apr-dev] 20210901 Re: APR 1.7.1 release? (mailing-list)