Skip to content
Fencer Vulns
high 7.1

CVE-2021-35940 json

Regression of CVE-2017-12613

published 2021-08-23 5 y ago modified 2026-09-08 2 mo ago also BIT-apr-2021-35940 , EUVD-2021-22575

cvss
7.1
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.2%
EPSS 1.2% chance of exploitation in 30 days, percentile 68%
public exploits
0
none known

Summary

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.

Patch / fix

  • bitnami apr 1.7.1
  • apr Debian 14, Debian 13, Debian 12 1.7.0-7

debian advisories DEBIAN-CVE-2021-35940

  • apr Ubuntu 22.04 LTS 1.7.0-6ubuntu1
  • apr Ubuntu Pro 14.04 LTS 1.5.0-1ubuntu0.1~esm1
  • apr Ubuntu Pro 16.04 LTS 1.5.2-3ubuntu0.1~esm1

ubuntu advisories UBUNTU-CVE-2021-35940

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • apr openSUSE Tumbleweed 1.7.0-4.1

opensuse advisories openSUSE-SU-2024:11865-1

  • apr Alpine 3.15, Alpine 3.14 1.7.0-r1
  • apr Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 1.7.0-r2

alpine advisories ALPINE-CVE-2021-35940

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-35940 updated cvss 7.1

apr: Regression of CVE-2017-12613 fix in apr 1.7

  • Red Hat Enterprise Linux 6 apr Red Hat Enterprise Linux 7 apr Red Hat Enterprise Linux 8 apr Red Hat Enterprise Linux 9 apr Red Hat JBoss Core Services jbcs-httpd24-apr jbcs-httpd24-apr Red Hat JBoss Web Server 3 apr
    +1 more products
    Red Hat JBoss Web Server 5 apr
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-23-164-03 updated cvss 7.1

Rockwell Automation FactoryTalk Edge Gateway

From CISA ICS and IT advisories (CSAF, https://github.com/cisagov/CSAF), a U.S. Government work; changed: reduced to products, statuses and remediations. CISA notification · csaf

Exploit prediction

1.19% chance of exploitation in the next 30 days, higher than 68% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 7.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
NVD 2.0 3.6 AV:L/AC:L/Au:N/C:P/I:N/A:P
OSV 3.1 7.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Affected packages

ecosystem package affected fixed in
bitnami apr
>=1.7.0, <1.7.1
1.7.1

Affected products

  • Apache Software Foundation Apache Portable Runtime (APR)

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.