Apport PID namespace crash handling flaw
Not specified Apport
At a glance
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.
Source description · CVE List / CNA
System impact
CVSS summary v3.0
- Published:
- Updated:
- EPSS:
- 0.382%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Local
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:Not specified | ApportEnvironments (1)
| Affected versions:≥ 2.20.8-0ubuntu4, < unspecifiedShow full version range for Apport≥ unspecified, < 2.20.9-0ubuntu7.1 |
| Vendor:Not specified | ApportEnvironments (1)
| Affected versions:≥ 2.20.1-0ubuntu2.15, < unspecifiedShow full version range for Apport≥ unspecified, < 2.20.1-0ubuntu2.18 |
| Vendor:Not specified | ApportEnvironments (1)
| Affected versions:≥ 2.20.7-0ubuntu3.7, < unspecifiedShow full version range for Apport≥ unspecified, < 2.20.7-0ubuntu3.9 |
| Vendor:Not specified | ApportEnvironments (1)
| Affected versions: 2.14.1-0ubuntu3.28 |
| Vendor:apport_project | apport | Affected versions:2.20.9Show full version range for apport2.20.12.14.12.20.7
|
1–5 of 5 · Page 1 of 1
CVSS scores and metrics2
[email protected] · NVD (Primary)Primary7.8 / 10HighCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H[email protected] · NVD (Primary)7.2 / 10HighCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
- Attack vector
- Local
- Authentication
- Not required
Source vector
AV:L/AC:L/Au:N/C:C/I:C/A:CCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories5
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences