UBUNTU-CVE-2022-1664

Source
https://ubuntu.com/security/CVE-2022-1664
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1664.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-1664
Related
Published
2022-05-25T15:00:00Z
Modified
2024-11-20T12:18:57Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Dpkg::Source::Archive in dpkg, the Debian package management system, before version 1.21.8, 1.20.10, 1.19.8, 1.18.26 is prone to a directory traversal vulnerability. When extracting untrusted source packages in v2 and v3 source package formats that include a debian.tar, the in-place extraction can lead to directory traversal situations on specially crafted orig.tar and debian.tar tarballs.

References

Affected packages

Ubuntu:Pro:14.04:LTS / dpkg

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.16.12ubuntu1
1.17.1ubuntu1
1.17.5ubuntu1
1.17.5ubuntu2
1.17.5ubuntu3
1.17.5ubuntu4
1.17.5ubuntu5
1.17.5ubuntu5.1
1.17.5ubuntu5.2
1.17.5ubuntu5.3
1.17.5ubuntu5.4
1.17.5ubuntu5.5
1.17.5ubuntu5.6
1.17.5ubuntu5.7
1.17.5ubuntu5.8
1.17.5ubuntu5.8+esm1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:16.04:LTS / dpkg

Package

Name
dpkg
Purl
pkg:deb/ubuntu/dpkg?arch=src?distro=esm-infra/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.18.4ubuntu1.7+esm1

Affected versions

1.*

1.18.2ubuntu5
1.18.3ubuntu1
1.18.4ubuntu1
1.18.4ubuntu1.1
1.18.4ubuntu1.2
1.18.4ubuntu1.3
1.18.4ubuntu1.4
1.18.4ubuntu1.5
1.18.4ubuntu1.6
1.18.4ubuntu1.7

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.18.4ubuntu1.7+esm1",
            "binary_name": "dpkg"
        },
        {
            "binary_version": "1.18.4ubuntu1.7+esm1",
            "binary_name": "dpkg-dbgsym"
        },
        {
            "binary_version": "1.18.4ubuntu1.7+esm1",
            "binary_name": "dpkg-dev"
        },
        {
            "binary_version": "1.18.4ubuntu1.7+esm1",
            "binary_name": "dselect"
        },
        {
            "binary_version": "1.18.4ubuntu1.7+esm1",
            "binary_name": "dselect-dbgsym"
        },
        {
            "binary_version": "1.18.4ubuntu1.7+esm1",
            "binary_name": "libdpkg-dev"
        },
        {
            "binary_version": "1.18.4ubuntu1.7+esm1",
            "binary_name": "libdpkg-perl"
        }
    ]
}

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",
    "ubuntu_priority": "medium",
    "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",
    "ubuntu_priority": "medium",
    "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",
    "ubuntu_priority": "medium",
    "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"
        }
    ]
}