CVE catalog

CVE-2021-23177

libarchive: CVE-2021-23177

[CVE catalog]

Severity
High · CVSS 7.3CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L
Published
Source
[NVD] · [CVE record]
EPSS
0.39% · Oct 25, 2026

An improper link resolution flaw while extracting an archive can lead to changing the access control list (ACL) of the target of the link. An attacker may provide a malicious archive to a victim user, who would trigger this flaw when trying to extract the archive. A local attacker may use this flaw to change the ACL of a file on the system and gain more privileges.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibarchivesid3.8.10-2fixed
Debianlibarchiveforky3.8.9-1fixed
Debianlibarchivetrixie3.7.4-4+deb13u1fixed
Debianlibarchivebookworm3.6.2-1+deb12u4fixed
Debianlibarchivebookworm-security3.6.2-1+deb12u5fixed
Ubuntulibarchivepro3.2.2-3.1vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.1vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.2vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.3vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.4vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.5vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.6vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.7vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.7+esm1vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.7+esm2vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.7+esm3vulnerable
Ubuntulibarchive20.043.4.0-1vulnerable
Ubuntulibarchive20.043.4.0-1build1vulnerable
Ubuntulibarchive20.043.4.0-1ubuntu2vulnerable
Ubuntulibarchive20.043.4.0-2ubuntu1vulnerable
Ubuntulibarchive20.043.4.0-2ubuntu1.1fixed
Ubuntulibarchive20.043.4.0-1vulnerable
Ubuntulibarchive20.043.4.0-1build1vulnerable
Ubuntulibarchive20.043.4.0-1ubuntu2vulnerable
Ubuntulibarchive20.043.4.0-2ubuntu1vulnerable
Ubuntulibarchive20.043.4.0-2ubuntu1.1fixed
Suselibarchivelinux enterprise module for basesystem 15 sp33.4.2-150200.4.9.1fixed
Suselibarchivelinux enterprise module for development tools 15 sp33.4.2-150200.4.9.1fixed
Opensuselibarchiveleap 15.33.4.2-150200.4.9.1fixed
Suselibarchivelinux enterprise module for basesystem 15 sp43.5.1-150400.3.6.1fixed
Suselibarchivelinux enterprise module for development tools 15 sp43.5.1-150400.3.6.1fixed
Opensuselibarchiveleap 15.43.5.1-150400.3.6.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibarchivesourcesid3.5.2-1not yet assignedNot reported[1001986]
Debianlibarchivesourceforky3.5.2-1not yet assignedNot reported[1001986]
Debianlibarchivesourcetrixie3.5.2-1not yet assignedNot reported[1001986]
Debianlibarchivesourcebookworm3.5.2-1not yet assignedNot reported[1001986]
Ubuntulibarchivedeb20.043.4.0-2ubuntu1.1Not reportedUBUNTU-CVE-2021-23177Not reported
Ubuntulibarchivedeb20.043.4.0-2ubuntu1.1Not reportedUSN-5291-1Not reported
Suselibarchiverpmlinux enterprise module for basesystem 15 sp33.4.2-150200.4.9.1Not reportedSUSE-SU-2022:3393-1Not reported
Suselibarchiverpmlinux enterprise module for development tools 15 sp33.4.2-150200.4.9.1Not reportedSUSE-SU-2022:3393-1Not reported
Opensuselibarchiverpmleap 15.33.4.2-150200.4.9.1Not reportedSUSE-SU-2022:3393-1Not reported
Suselibarchiverpmlinux enterprise module for basesystem 15 sp43.5.1-150400.3.6.1Not reportedSUSE-SU-2022:3306-1Not reported
Suselibarchiverpmlinux enterprise module for development tools 15 sp43.5.1-150400.3.6.1Not reportedSUSE-SU-2022:3306-1Not reported
Opensuselibarchiverpmleap 15.43.5.1-150400.3.6.1Not reportedSUSE-SU-2022:3306-1Not reported

[Debian bug #1001986]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [libarchive]

    Details (4)
    • 3.6.2-1+deb12u4 · amd64 · bookworm

      Fixed · Fixed: 3.5.2-1

      dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12

    • 3.6.2-1+deb12u4 · arm64 · bookworm

      Fixed · Fixed: 3.5.2-1

      dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 3.5.2-1

      dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 3.5.2-1

      dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12

  • Source package: [libarchive]

    Details (4)
    • 3.6.2-1+deb12u4 · amd64 · bookworm

      Fixed · Fixed: 3.5.2-1

      dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12

    • 3.6.2-1+deb12u4 · arm64 · bookworm

      Fixed · Fixed: 3.5.2-1

      dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 3.5.2-1

      dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 3.5.2-1

      dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12

  • Source package: [libarchive]

    Details (4)
    • 3.6.2-1+deb12u4 · amd64 · bookworm

      Fixed · Fixed: 3.5.2-1

      dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12

    • 3.6.2-1+deb12u4 · arm64 · bookworm

      Fixed · Fixed: 3.5.2-1

      dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 3.5.2-1

      dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 3.5.2-1

      dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12

[Debian 13 (Trixie)]

  • Source package: [libarchive]

    Details (2)
    • 3.7.4-4+deb13u1 · amd64 · trixie

      Fixed · Fixed: 3.5.2-1

      dsa · libarchive · debian · 13

    • 3.7.4-4+deb13u1 · arm64 · trixie

      Fixed · Fixed: 3.5.2-1

      dsa · libarchive · debian · 13

  • Source package: [libarchive]

    Details (2)
    • 3.7.4-4+deb13u1 · amd64 · trixie

      Fixed · Fixed: 3.5.2-1

      dsa · libarchive · debian · 13

    • 3.7.4-4+deb13u1 · arm64 · trixie

      Fixed · Fixed: 3.5.2-1

      dsa · libarchive · debian · 13

  • Source package: [libarchive]

    Details (2)
    • 3.7.4-4+deb13u1 · amd64 · trixie

      Fixed · Fixed: 3.5.2-1

      dsa · libarchive · debian · 13

    • 3.7.4-4+deb13u1 · arm64 · trixie

      Fixed · Fixed: 3.5.2-1

      dsa · libarchive · debian · 13

Observed:

References