USN-5064-1

Source
https://ubuntu.com/security/notices/USN-5064-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5064-1.json
JSON Data
https://api.test.osv.dev/v1/vulns/USN-5064-1
Upstream
Related
Published
2021-09-08T11:14:41Z
Modified
2026-02-10T04:42:18Z
Summary
cpio vulnerability
Details

Maverick Chung and Qiaoyi Fang discovered that cpio incorrectly handled certain pattern files. A remote attacker could use this issue to cause cpio to crash, resulting in a denial of service, or possibly execute arbitrary code.

References

Affected packages

Ubuntu:18.04:LTS / cpio

Package

Name
cpio
Purl
pkg:deb/ubuntu/cpio@2.12+dfsg-6ubuntu0.18.04.4?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.12+dfsg-6ubuntu0.18.04.4

Affected versions

2.*
2.11+dfsg-6
2.12+dfsg-6
2.12+dfsg-6ubuntu0.18.04.1

Ecosystem specific

{
    "availability":  "No subscription required",
    "binaries":  [
        {
            "binary_name":  "cpio",
            "binary_version":  "2.12+dfsg-6ubuntu0.18.04.4"
        },
        {
            "binary_name":  "cpio-win32",
            "binary_version":  "2.12+dfsg-6ubuntu0.18.04.4"
        }
    ]
}

Database specific

cves_map
{
    "cves":  [
        {
            "id":  "CVE-2021-38185",
            "severity":  [
                {
                    "score":  "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/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-5064-1.json"

Ubuntu:20.04:LTS / cpio

Package

Name
cpio
Purl
pkg:deb/ubuntu/cpio@2.13+dfsg-2ubuntu0.3?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.13+dfsg-2ubuntu0.3

Affected versions

2.*
2.12+dfsg-9
2.12+dfsg-9ubuntu1
2.13+dfsg-1
2.13+dfsg-2

Ecosystem specific

{
    "availability":  "No subscription required",
    "binaries":  [
        {
            "binary_name":  "cpio",
            "binary_version":  "2.13+dfsg-2ubuntu0.3"
        },
        {
            "binary_name":  "cpio-win32",
            "binary_version":  "2.13+dfsg-2ubuntu0.3"
        }
    ]
}

Database specific

cves_map
{
    "cves":  [
        {
            "id":  "CVE-2021-38185",
            "severity":  [
                {
                    "score":  "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/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-5064-1.json"