Out-of-bounds Read Affecting apr package, versions [0,1.7.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (19th 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-UNMANAGED-APR-2384855
  • published26 Jan 2022
  • disclosed23 Aug 2021
  • creditUnknown

Introduced: 23 Aug 2021

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

How to fix?

Upgrade apr to version 1.7.1 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read. 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.

CVSS Scores

version 3.1