CVE-2021-35940: apache software foundation apache portable runtime (apr) Out-of-bounds Read
Vulnerability summary
CVE-2021-35940 is a high (CVSS 7.1) Out-of-bounds Read vulnerability in apache software foundation apache portable runtime (apr). EPSS estimates a 1.19% chance of exploitation in the next 30 days, higher than 67.3% of scored vulnerabilities.
Timeline
- 23-08-2021PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
EPSS trend
Probability
1.19%
Chance of exploitation in the next 30 days
Percentile
67%
Versus all other CVEs
30-day change
0.00 pp
From 1.19% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Alpine1 product
- apr< 1.7.0-r1 | < 1.7.0-r2
Apache1 product
- portable_runtime1.7.0
Apache software foundation1 product
- apache portable runtime (apr)Apache Portable Runtime 1.7.0
Debian1 product
- apr< 1.7.0-7
Mageia1 product
- apr< 1.7.0-3.2.mga8
Opensuse1 product
- apr&distro=openSUSE Tumbleweed< 1.7.0-4.1
Oracle1 product
- http_server12.2.1.3.0 | 12.2.1.4.0
Ubuntu1 product
- apr< 1.5.0-1ubuntu0.1~esm1 | < 1.5.2-3ubuntu0.1~esm1 | < 1.7.0-6ubuntu1
8 vendors · 8 products
References
28 links- mail-archives.apache.org/mod_mbox/…X Refsource MISC
- dist.apache.org/repos/dist/release/apr/patches/apr-1.7.0-CVE-2021-35940.patchX Refsource MISCREPORTPatchVendor Advisory
- www.openwall.com/lists/oss-security/2021/08/23/1Mailing ListX Refsource MLISTREPORTThird Party Advisory