USN-5446-1

Source
https://ubuntu.com/security/notices/USN-5446-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5446-1.json
JSON Data
https://api.test.osv.dev/v1/vulns/USN-5446-1
Upstream
Related
Published
2022-05-26T11:16:17Z
Modified
2026-04-27T16:05:27Z
Summary
dpkg vulnerability
Details

Max Justicz discovered that dpkg incorrectly handled unpacking certain source packages. If a user or an automated system were tricked into unpacking a specially crafted source package, a remote attacker could modify files outside the target unpack directory, leading to a denial of service or potentially gaining access to the system.

References

Affected packages

Ubuntu:18.04:LTS / dpkg

Package

Name
dpkg
Purl
pkg:deb/ubuntu/dpkg@1.19.0.5ubuntu2.4?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.19.0.5ubuntu2.4

Affected versions

1.*
1.18.24ubuntu1
1.19.0.4ubuntu1
1.19.0.5ubuntu1
1.19.0.5ubuntu2
1.19.0.5ubuntu2.1
1.19.0.5ubuntu2.2
1.19.0.5ubuntu2.3

Ecosystem specific

{
    "availability":  "No subscription required",
    "binaries":  [
        {
            "binary_name":  "dpkg",
            "binary_version":  "1.19.0.5ubuntu2.4"
        },
        {
            "binary_name":  "dselect",
            "binary_version":  "1.19.0.5ubuntu2.4"
        },
        {
            "binary_name":  "libdpkg-perl",
            "binary_version":  "1.19.0.5ubuntu2.4"
        }
    ]
}

Database specific

cves_map
{
    "cves":  [
        {
            "id":  "CVE-2022-1664",
            "severity":  [
                {
                    "score":  "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "medium",
                    "type":  "Ubuntu"
                }
            ]
        }
    ],
    "ecosystem":  "Ubuntu:18.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5446-1.json"

Ubuntu:20.04:LTS / dpkg

Package

Name
dpkg
Purl
pkg:deb/ubuntu/dpkg@1.19.7ubuntu3.2?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.19.7ubuntu3.2

Affected versions

1.*
1.19.7ubuntu2
1.19.7ubuntu3

Ecosystem specific

{
    "availability":  "No subscription required",
    "binaries":  [
        {
            "binary_name":  "dpkg",
            "binary_version":  "1.19.7ubuntu3.2"
        },
        {
            "binary_name":  "dselect",
            "binary_version":  "1.19.7ubuntu3.2"
        },
        {
            "binary_name":  "libdpkg-perl",
            "binary_version":  "1.19.7ubuntu3.2"
        }
    ]
}

Database specific

cves_map
{
    "cves":  [
        {
            "id":  "CVE-2022-1664",
            "severity":  [
                {
                    "score":  "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "medium",
                    "type":  "Ubuntu"
                }
            ]
        }
    ],
    "ecosystem":  "Ubuntu:20.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5446-1.json"

Ubuntu:22.04:LTS / dpkg

Package

Name
dpkg
Purl
pkg:deb/ubuntu/dpkg@1.21.1ubuntu2.1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.21.1ubuntu2.1

Affected versions

1.*
1.20.9ubuntu2
1.20.9ubuntu3
1.21.1ubuntu1
1.21.1ubuntu2

Ecosystem specific

{
    "availability":  "No subscription required",
    "binaries":  [
        {
            "binary_name":  "dpkg",
            "binary_version":  "1.21.1ubuntu2.1"
        },
        {
            "binary_name":  "dselect",
            "binary_version":  "1.21.1ubuntu2.1"
        },
        {
            "binary_name":  "libdpkg-perl",
            "binary_version":  "1.21.1ubuntu2.1"
        }
    ]
}

Database specific

cves_map
{
    "cves":  [
        {
            "id":  "CVE-2022-1664",
            "severity":  [
                {
                    "score":  "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "medium",
                    "type":  "Ubuntu"
                }
            ]
        }
    ],
    "ecosystem":  "Ubuntu:22.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5446-1.json"