CVE-2021-35940
Regression of CVE-2017-12613
7.1
HIGH
CVSS 3.1
EPSS 0.07%
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.
How to fix CVE-2021-35940
To remediate CVE-2021-35940, upgrade the affected package to a fixed version below.
- —upgrade to 1.7.0-r1 or later
- —upgrade to 1.7.1 or later
- —upgrade to 1.7.0-6+deb11u1 or later
Is CVE-2021-35940 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 1.7.0-r1
- >= 1.7.0, < 1.7.1
- from 0, < 1.7.0-6+deb11u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
References (19)
- ADVISORYsecurity.alpinelinux.org/vuln/CVE-2021-35940
- ADVISORYsecurity-tracker.debian.org/tracker/CVE-2021-35940
- WEBmail-archives.apache.org/mod_mbox/www-announce/201710.mbox/%3CCACsi251B8UaLvM-rrH9fv57-zWi0zhyF3275_jPg1a9VEVVoxw%40mail.gmail.com%3E
- WEBdist.apache.org/repos/dist/release/apr/patches/apr-1.7.0-CVE-2021-35940.patch