Incorrect Permission Assignment for Critical Resource Affecting dpkg package, versions [,1.22.21)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.09% (26th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-DPKG-10734109
  • published14 Jul 2025
  • disclosed1 Jul 2025
  • creditzhutyra

Introduced: 1 Jul 2025

CVE-2025-6297  (opens in a new tab)
CWE-732  (opens in a new tab)

How to fix?

Upgrade dpkg to version 1.22.21 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Permission Assignment for Critical Resource due to improper sanitization of directory permissions when extracting the control member into a temporary directory. An attacker can cause disk quota exhaustion or disk full conditions by repeatedly executing commands with specially crafted package files, leading to leftover temporary files that cannot be removed.

CVSS Base Scores

version 4.0
version 3.1