VDB

CVE-2021-35940

CVE-2021-35940 PUBLISHED

Regression of CVE-2017-12613

Reported by apache · Published August 23, 2021

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
apr-develAmazon Linux1.7.2-2.amzn2023.0.2, 1.7.2-1.amzn2
aprBitnami1.7.1
aprAlpine1.7.0-r2, 1.7.0-r1

Affected products

VendorProductVersions
Apache Software FoundationApache Portable Runtime (APR)Apache Portable Runtime 1.7.0
amazon:2apr-devel0
amazon:2023apr-devel0
alpineapr0, 0
archapr*
Apache Software FoundationApache Portable Runtime (APR)1.7.0
amazon:2023apr0
amazon:2apr0

Timeline

  • Aug 23, 2021 CVE Published
  • Aug 24, 2021 EPSS Score (30 in total, the first dated here)
  • Aug 4, 2024 CVE Updated
  • Apr 3, 2025 PoC Published
  • Jun 1, 2026 Security Advisory (2 in total, the first dated here)
  • Jul 29, 2026 Coalition ESS Score
  • Nov 22, 2026 Distribution Patch

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-35940
vulnetix vdb fixes CVE-2021-35940

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-35940/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›