Integer Overflow or Wraparound Affecting apr package, versions <1.7.1-r0


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
10.57% (96th 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-3261127
  • published1 Feb 2023
  • disclosed31 Jan 2023

Introduced: 31 Jan 2023

CVE-2022-28331  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Alpine:3.15 apr to version 1.7.1-r0 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.

On Windows, Apache Portable Runtime 1.7.0 and earlier may write beyond the end of a stack based buffer in apr_socket_sendv(). This is a result of integer overflow.

CVSS Scores

version 3.1