Integer Overflow or Wraparound Affecting apr package, versions [0.9.1,1.3.8)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
13.78% (97th 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 Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-APR-2384853
  • published26 Jan 2022
  • disclosed6 Aug 2009
  • creditUnknown

Introduced: 6 Aug 2009

CVE-2009-2412  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade apr to version 1.3.8 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound. Multiple integer overflows in the Apache Portable Runtime (APR) library and the Apache Portable Utility library (aka APR-util) 0.9.x and 1.3.x allow remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via vectors that trigger crafted calls to the (1) allocator_alloc or (2) apr_palloc function in memory/unix/apr_pools.c in APR; or crafted calls to the (3) apr_rmm_malloc, (4) apr_rmm_calloc, or (5) apr_rmm_realloc function in misc/apr_rmm.c in APR-util; leading to buffer overflows. NOTE: some of these details are obtained from third party information.

CVSS Base Scores

version 3.1