It was discovered that dpkg-deb does not properly sanitize directory permissions when extracting a control member into a temporary directory, which is...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTSdpkg |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSdpkg |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSdpkg |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSdpkg |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSdpkg |
< 1.21.1ubuntu2.6→ 1.21.1ubuntu2.6 |
1.21.1ubuntu2.6 |
| Ubuntu:24.04:LTSdpkg |
< 1.22.6ubuntu6.5→ 1.22.6ubuntu6.5 |
1.22.6ubuntu6.5 |
| Ubuntu:25.10dpkg |
< 1.22.21ubuntu1→ 1.22.21ubuntu1 |
1.22.21ubuntu1 |
Original description The description as published by the source.
It was discovered that dpkg-deb does not properly sanitize directory permissions when extracting a control member into a temporary directory, which is documented as being a safe operation even on untrusted data. This may result in leaving temporary files behind on cleanup. Given automated and repeated execution of dpkg-deb commands on adversarial .deb packages or with well compressible files, placed inside a directory with permissions not allowing removal by a non-root user, this can end up in a DoS scenario due to causing disk quota exhaustion or disk full conditions.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- report ubuntu.com
- report cve.org