CVE-2021-31566

Summary

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.

Affected Software

VendorProductVersion RangeStatus
n/alibarchiveFixed in libarchive 3.5.2affected

Weaknesses

  • CWE-59: CWE-59 - Improper Link Resolution Before File Access ('Link Following')

ADP Enrichment

CVE Program Container

Additional References

References