Out-of-bounds Read Affecting apr-debuginfo package, versions <0:1.7.2-1.amzn2


Severity

Recommended
critical

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.08% (36th 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-AMZN2-APRDEBUGINFO-3319900
  • published15 Feb 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:2 apr-debuginfo to version 0:1.7.2-1.amzn2 or higher.
This issue was patched in ALAS2-2023-1936.

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:2 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