Out-of-bounds Read Affecting apr package, versions <1.7.0-r1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE315-APR-2849151
  • published31 May 2022
  • disclosed23 Aug 2021

Introduced: 23 Aug 2021

CVE-2021-35940  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Alpine:3.15 apr to version 1.7.0-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream apr package and not the apr package as distributed by Alpine. See How to fix? for Alpine:3.15 relevant fixed versions and status.

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.

References

CVSS Scores

version 3.1