OESA-2021-1398

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2021-1398
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2021-1398.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2021-1398
Upstream
Published
2021-10-19T11:03:17Z
Modified
2025-08-12T05:09:22.299059Z
Summary
libarchive security update
Details

libarchive is an open-source BSD-licensed C programming library that provides streaming access to a variety of different archive formats, including tar, cpio, pax, zip, and ISO9660 images. The distribution also includes bsdtar and bsdcpio, full-featured implementations of tar and cpio that use libarchive.

Security Fix(es):

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

Database specific
{
    "severity": "Medium"
}
References

Affected packages

openEuler:20.03-LTS-SP1 / libarchive

Package

Name
libarchive
Purl
pkg:rpm/openEuler/libarchive&distro=openEuler-20.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.3-3.oe1

Ecosystem specific

{
    "x86_64": [
        "libarchive-3.4.3-3.oe1.x86_64.rpm",
        "libarchive-debugsource-3.4.3-3.oe1.x86_64.rpm",
        "libarchive-devel-3.4.3-3.oe1.x86_64.rpm",
        "libarchive-debuginfo-3.4.3-3.oe1.x86_64.rpm"
    ],
    "noarch": [
        "libarchive-help-3.4.3-3.oe1.noarch.rpm"
    ],
    "aarch64": [
        "libarchive-3.4.3-3.oe1.aarch64.rpm",
        "libarchive-debuginfo-3.4.3-3.oe1.aarch64.rpm",
        "libarchive-devel-3.4.3-3.oe1.aarch64.rpm",
        "libarchive-debugsource-3.4.3-3.oe1.aarch64.rpm"
    ],
    "src": [
        "libarchive-3.4.3-3.oe1.src.rpm"
    ]
}

openEuler:20.03-LTS-SP2 / libarchive

Package

Name
libarchive
Purl
pkg:rpm/openEuler/libarchive&distro=openEuler-20.03-LTS-SP2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.3-3.oe1

Ecosystem specific

{
    "x86_64": [
        "libarchive-debuginfo-3.4.3-3.oe1.x86_64.rpm",
        "libarchive-devel-3.4.3-3.oe1.x86_64.rpm",
        "libarchive-3.4.3-3.oe1.x86_64.rpm",
        "libarchive-debugsource-3.4.3-3.oe1.x86_64.rpm"
    ],
    "noarch": [
        "libarchive-help-3.4.3-3.oe1.noarch.rpm"
    ],
    "aarch64": [
        "libarchive-debugsource-3.4.3-3.oe1.aarch64.rpm",
        "libarchive-devel-3.4.3-3.oe1.aarch64.rpm",
        "libarchive-3.4.3-3.oe1.aarch64.rpm",
        "libarchive-debuginfo-3.4.3-3.oe1.aarch64.rpm"
    ],
    "src": [
        "libarchive-3.4.3-3.oe1.src.rpm"
    ]
}