CVEfocus › CVE database › CVE-2021-35940

CVE-2021-35940Regression of CVE-2017-12613

CVSS 7.1 HighEPSS 1.2% (higher than 68% of CVEs)Published 2021-08-23Updated 2024-08-04Assigner: apache

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.

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

15Fixed
2Fix pending
9Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04aprFixed1.7.0-6ubuntu1UBUNTU-CVE-2021-35940
Ubuntu 20.04aprNot affected
vulnerable_code_not_present
Ubuntu 16.04aprFix pending1.5.2-3ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2021-35940
Ubuntu 14.04aprFix pending1.5.0-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2021-35940
Debian 14aprFixed1.7.0-7DEBIAN-CVE-2021-35940
Debian 13aprFixed1.7.0-7DEBIAN-CVE-2021-35940
Debian 12aprFixed1.7.0-7DEBIAN-CVE-2021-35940
Red Hat Enterprise Linux 9aprNot affected
Red Hat Enterprise Linux 9apr-develNot affected
Red Hat Enterprise Linux 8aprNot affected
Red Hat Enterprise Linux 8apr-develNot affected
Red Hat Enterprise Linux 7aprNot affected
Red Hat Enterprise Linux 7apr-develNot affected
Red Hat Enterprise Linux 6aprNot affected
Red Hat Enterprise Linux 6apr-develNot affected
Alpine Linux 3.24aprFixed1.7.0-r2ALPINE-CVE-2021-35940
Alpine Linux 3.23aprFixed1.7.0-r2ALPINE-CVE-2021-35940
Alpine Linux 3.22aprFixed1.7.0-r2ALPINE-CVE-2021-35940
Alpine Linux 3.21aprFixed1.7.0-r2ALPINE-CVE-2021-35940
Alpine Linux 3.20aprFixed1.7.0-r2ALPINE-CVE-2021-35940
Alpine Linux 3.19aprFixed1.7.0-r2ALPINE-CVE-2021-35940
Alpine Linux 3.18aprFixed1.7.0-r2ALPINE-CVE-2021-35940
Alpine Linux 3.17aprFixed1.7.0-r2ALPINE-CVE-2021-35940
Alpine Linux 3.16aprFixed1.7.0-r2ALPINE-CVE-2021-35940
Alpine Linux 3.15aprFixed1.7.0-r1ALPINE-CVE-2021-35940
Alpine Linux 3.14aprFixed1.7.0-r1ALPINE-CVE-2021-35940

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.