Integer Overflow or Wraparound Affecting libcap package, versions <0:2.48-8.el9_0.1


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.06% (28th 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-RHEL9-LIBCAP-6192676
  • published26 Jan 2024
  • disclosed16 May 2023

Introduced: 16 May 2023

CVE-2023-2603  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade RHEL:9 libcap to version 0:2.48-8.el9_0.1 or higher.
This issue was patched in RHSA-2024:0436.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libcap package and not the libcap package as distributed by RHEL. See How to fix? for RHEL:9 relevant fixed versions and status.

A vulnerability was found in libcap. This issue occurs in the _libcap_strdup() function and can lead to an integer overflow if the input string is close to 4GiB.

CVSS Scores

version 3.1