Security mailing lists by PureSourceCode

CVE-2021-31566

HIGH 7.8CVSS 3.1

An improper link resolution flaw can occur while extracting an archive leading to changing modes, times, access control lists, and flags of a file outside of the archive. 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 gain more privileges in a system.

Published
23 Aug 2022
Last modified
2 Nov 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-59
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD libarchive libarchive
cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:*
< 3.5.2 3.5.2
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
= 35
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD redhat enterprise_linux_eus
cpe:2.3:o:redhat:enterprise_linux_eus:8.6:*:*:*:*:*:*:*
= 8.6
NVD redhat enterprise_linux_for_ibm_z_systems
cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:8.0:*:*:*:*:*:*:*
= 8.0
NVD redhat enterprise_linux_for_ibm_z_systems_eus
cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_eus:8.6:*:*:*:*:*:*:*
= 8.6
NVD redhat enterprise_linux_for_power_little_endian
cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:8.0:*:*:*:*:*:*:*
= 8.0
NVD redhat enterprise_linux_for_power_little_endian_eus
cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_eus:8.6:*:*:*:*:*:*:*
= 8.6
NVD redhat enterprise_linux_server_aus
cpe:2.3:o:redhat:enterprise_linux_server_aus:8.6:*:*:*:*:*:*:*
= 8.6
NVD redhat enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions
cpe:2.3:o:redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions:8.6:*:*:*:*:*:*:*
= 8.6
NVD redhat enterprise_linux_server_tus
cpe:2.3:o:redhat:enterprise_linux_server_tus:8.6:*:*:*:*:*:*:*
= 8.6
NVD redhat codeready_linux_builder
cpe:2.3:a:redhat:codeready_linux_builder:-:*:*:*:*:*:*:*
(no version)
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
NVD splunk universal_forwarder
cpe:2.3:a:splunk:universal_forwarder:*:*:*:*:*:*:*:*
>= 8.2.0, < 8.2.12 8.2.12
NVD splunk universal_forwarder
cpe:2.3:a:splunk:universal_forwarder:*:*:*:*:*:*:*:*
>= 9.0.0, < 9.0.6 9.0.6
NVD splunk universal_forwarder
cpe:2.3:a:splunk:universal_forwarder:9.1.0:*:*:*:*:*:*:*
= 9.1.0

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 23 Aug 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.