Description
Apport does not properly handle crashes originating from a PID namespace allowing local users to create certain files as root which an attacker could leverage to perform a denial of service via resource exhaustion, possibly gain root privileges, or escape from containers. The is_same_ns() function returns True when /proc/<global pid>/ does not exist in order to indicate that the crash should be handled in the global namespace rather than inside of a container. However, the portion of the data/apport code that decides whether or not to forward a crash to a container does not always replace sys.argv[1] with the value stored in the host_pid variable when /proc/<global pid>/ does not exist which results in the container pid being used in the global namespace. This flaw affects versions 2.20.8-0ubuntu4 through 2.20.9-0ubuntu7, 2.20.7-0ubuntu3.7, 2.20.7-0ubuntu3.8, 2.20.1-0ubuntu2.15 through 2.20.1-0ubuntu2.17, and 2.14.1-0ubuntu3.28.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Apport | 2.20.8-0ubuntu4 – < unspecified, unspecified – < 2.20.9-0ubuntu7.1, 2.20.1-0ubuntu2.15 – < unspecified, unspecified – < 2.20.1-0ubuntu2.18, 2.20.7-0ubuntu3.7 – < unspecified, unspecified – < 2.20.7-0ubuntu3.9, 2.14.1-0ubuntu3.28 | unspecified |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | apport | 2.20.9-0ubuntu7.1 | USN-3664-1 |
| Ubuntu 16.04 LTS | apport | 2.20.1-0ubuntu2.18 | USN-3664-1 |
| Ubuntu 14.04 LTS | apport | 2.14.1-0ubuntu3.29 | USN-3664-2 |
Advisories 2
- USN-3664-1 apport vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- USN-3664-2 apport vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
References
- USN-3664-1 vendor-advisory
- USN-3664-2 vendor-advisory