CVE-2023-2603

NameCVE-2023-2603
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1036114

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libcap2 (PTS)buster1:2.25-2fixed
bullseye1:2.44-1vulnerable
bookworm1:2.66-4fixed
sid, trixie1:2.66-5fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libcap2sourcebuster(not affected)
libcap2source(unstable)1:2.66-41036114

Notes

[bullseye] - libcap2 <no-dsa> (Minor issue)
[buster] - libcap2 <not-affected> (Vulnerable code introduced later)
https://sites.google.com/site/fullycapable/release-notes-for-libcap#h.iuvg7sbjg8pe
https://www.x41-dsec.de/static/reports/X41-libcap-Code-Review-2023-OSTIF-Final-Report.pdf
https://www.openwall.com/lists/oss-security/2023/05/15/4
Fixed by: https://git.kernel.org/pub/scm/libs/libcap/libcap.git/commit/?id=422bec25ae4a1ab03fd4d6f728695ed279173b18 (libcap-2.69)

Search for package or bug name: Reporting problems