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.
References
Configurations
History
06 Aug 2025, 15:51
Type | Values Removed | Values Added |
---|---|---|
CPE | cpe:2.3:a:debian:dpkg:*:*:*:*:*:*:*:* | |
References | () https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=ed6bbd445dd8800308c67236ba35d08004c98e82 - Patch | |
First Time |
Debian dpkg
Debian |
03 Jul 2025, 15:14
Type | Values Removed | Values Added |
---|---|---|
Summary |
|
01 Jul 2025, 18:15
Type | Values Removed | Values Added |
---|---|---|
Summary | (en) 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. | |
CWE | CWE-400 CWE-732 |
|
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 8.2 |
01 Jul 2025, 17:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2025-07-01 17:15
Updated : 2025-08-06 15:51
NVD link : CVE-2025-6297
Mitre link : CVE-2025-6297
CVE.ORG link : CVE-2025-6297
JSON object : View
Products Affected
debian
- dpkg