Integer Overflow or Wraparound Affecting libcap2 package, versions <1:2.24-12ubuntu0.1~esm1


medium

Snyk CVSS

    Attack Complexity Low
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 0.05% (19th percentile)
Expand this section
NVD
7.8 high
Expand this section
SUSE
4.4 medium
Expand this section
Red Hat
7.8 high

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 ID SNYK-UBUNTU1604-LIBCAP2-5538302
  • published 17 May 2023
  • disclosed 6 Jun 2023

How to fix?

Upgrade Ubuntu:16.04 libcap2 to version 1:2.24-12ubuntu0.1~esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libcap2 package and not the libcap2 package as distributed by Ubuntu. See How to fix? for Ubuntu:16.04 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.