USN-6166-2: libcap2 vulnerability
19 June 2023
libcap could be made to crash or possibly execute arbitrary code if it received a specially crafted input.
- libcap2 - POSIX 1003.1e capabilities (library)
USN-6166-1 fixed a vulnerability in libcap2. This update provides
the corresponding update for Ubuntu 14.04 ESM, Ubuntu 16.04 ESM
and Ubuntu 18.04 ESM.
Original advisory details:
Richard Weinberger discovered that libcap2 incorrectly handled certain long
input strings. An attacker could use this issue to cause libcap2 to crash,
resulting in a denial of service, or possibly execute arbitrary code.
The problem can be corrected by updating your system to the following package versions:
In general, a standard system update will make all the necessary changes.
- USN-6166-1: libcap2-bin, libcap-dev, libcap2, libpam-cap