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.osv.dev/v1/vulns/USN-5446-1
Related
Published
2022-05-26T11:16:17.956226Z
Modified
2022-05-26T11:16:17.956226Z
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?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown 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_version": "1.19.0.5ubuntu2.4",
            "binary_name": "dpkg"
        },
        {
            "binary_version": "1.19.0.5ubuntu2.4",
            "binary_name": "dpkg-dbgsym"
        },
        {
            "binary_version": "1.19.0.5ubuntu2.4",
            "binary_name": "dpkg-dev"
        },
        {
            "binary_version": "1.19.0.5ubuntu2.4",
            "binary_name": "dselect"
        },
        {
            "binary_version": "1.19.0.5ubuntu2.4",
            "binary_name": "dselect-dbgsym"
        },
        {
            "binary_version": "1.19.0.5ubuntu2.4",
            "binary_name": "libdpkg-dev"
        },
        {
            "binary_version": "1.19.0.5ubuntu2.4",
            "binary_name": "libdpkg-perl"
        }
    ]
}

Ubuntu:20.04:LTS / dpkg

Package

Name
dpkg
Purl
pkg:deb/ubuntu/dpkg?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown 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_version": "1.19.7ubuntu3.2",
            "binary_name": "dpkg"
        },
        {
            "binary_version": "1.19.7ubuntu3.2",
            "binary_name": "dpkg-dbgsym"
        },
        {
            "binary_version": "1.19.7ubuntu3.2",
            "binary_name": "dpkg-dev"
        },
        {
            "binary_version": "1.19.7ubuntu3.2",
            "binary_name": "dselect"
        },
        {
            "binary_version": "1.19.7ubuntu3.2",
            "binary_name": "dselect-dbgsym"
        },
        {
            "binary_version": "1.19.7ubuntu3.2",
            "binary_name": "libdpkg-dev"
        },
        {
            "binary_version": "1.19.7ubuntu3.2",
            "binary_name": "libdpkg-perl"
        }
    ]
}

Ubuntu:22.04:LTS / dpkg

Package

Name
dpkg
Purl
pkg:deb/ubuntu/dpkg?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown 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_version": "1.21.1ubuntu2.1",
            "binary_name": "dpkg"
        },
        {
            "binary_version": "1.21.1ubuntu2.1",
            "binary_name": "dpkg-dbgsym"
        },
        {
            "binary_version": "1.21.1ubuntu2.1",
            "binary_name": "dpkg-dev"
        },
        {
            "binary_version": "1.21.1ubuntu2.1",
            "binary_name": "dselect"
        },
        {
            "binary_version": "1.21.1ubuntu2.1",
            "binary_name": "dselect-dbgsym"
        },
        {
            "binary_version": "1.21.1ubuntu2.1",
            "binary_name": "libdpkg-dev"
        },
        {
            "binary_version": "1.21.1ubuntu2.1",
            "binary_name": "libdpkg-perl"
        }
    ]
}