Out-of-bounds Read Affecting apr-debuginfo package, versions <0:1.7.2-2.amzn2023.0.2


Severity

Recommended
critical

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
1.19% (64th 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-AMZN2023-APRDEBUGINFO-3340075
  • published6 Mar 2023
  • 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 Amazon-Linux:2023 apr-debuginfo to version 0:1.7.2-2.amzn2023.0.2 or higher.
This issue was patched in ALAS2023-2023-016.

NVD Description

Note: Versions mentioned in the description apply only to the upstream apr-debuginfo package and not the apr-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 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 Base Scores

version 3.1