UBUNTU-CVE-2021-36976

Source
https://ubuntu.com/security/CVE-2021-36976
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-36976.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2021-36976
Related
Published
2021-07-20T07:15:00Z
Modified
2021-07-20T07:15:00Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

libarchive 3.4.1 through 3.5.1 has a use-after-free in copystring (called from douncompressblock and processblock).

References

Affected packages

Ubuntu:20.04:LTS / libarchive

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.0-2ubuntu1.1

Affected versions

3.*

3.4.0-1
3.4.0-1build1
3.4.0-1ubuntu2
3.4.0-2ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.4.0-2ubuntu1.1",
            "binary_name": "libarchive-dev"
        },
        {
            "binary_version": "3.4.0-2ubuntu1.1",
            "binary_name": "libarchive-tools"
        },
        {
            "binary_version": "3.4.0-2ubuntu1.1",
            "binary_name": "libarchive-tools-dbgsym"
        },
        {
            "binary_version": "3.4.0-2ubuntu1.1",
            "binary_name": "libarchive13"
        },
        {
            "binary_version": "3.4.0-2ubuntu1.1",
            "binary_name": "libarchive13-dbgsym"
        }
    ]
}

Ubuntu:22.04:LTS / libarchive

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.5.2-1ubuntu1

Affected versions

3.*

3.4.3-2
3.4.3-2build1
3.5.2-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.5.2-1ubuntu1",
            "binary_name": "libarchive-dev"
        },
        {
            "binary_version": "3.5.2-1ubuntu1",
            "binary_name": "libarchive-tools"
        },
        {
            "binary_version": "3.5.2-1ubuntu1",
            "binary_name": "libarchive-tools-dbgsym"
        },
        {
            "binary_version": "3.5.2-1ubuntu1",
            "binary_name": "libarchive13"
        },
        {
            "binary_version": "3.5.2-1ubuntu1",
            "binary_name": "libarchive13-dbgsym"
        }
    ]
}