{"id":"CVE-2021-23177","state":"PUBLISHED","title":"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 archi","description":"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.","publishedAt":"2022-08-23T00:00:00.000Z","updatedAt":"2024-08-03T19:05:55.631Z","severity":null,"assigner":"redhat","products":["n/a libarchive"],"affected":[{"vendor":"n/a","product":"libarchive","versions":[{"version":"Fixed in libarchive 3.5.2","status":"affected"}]}],"references":["https://github.com/libarchive/libarchive/issues/1565","https://github.com/libarchive/libarchive/commit/fba4f123cc456d2b2538f811bb831483bf336bad","https://bugzilla.redhat.com/show_bug.cgi?id=2024245","https://access.redhat.com/security/cve/CVE-2021-23177","https://lists.debian.org/debian-lts-announce/2022/11/msg00030.html"],"weaknesses":["CWE-59"],"ingestedAt":"2026-10-29T19:48:04.982Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/23xxx/CVE-2021-23177.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-23177","state":"PUBLISHED","datePublished":"2022-08-23T00:00:00.000Z","dateUpdated":"2024-08-03T19:05:55.631Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2021-12-16T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"libarchive","versions":[{"version":"Fixed in libarchive 3.5.2","status":"affected"}]}],"references":[{"url":"https://github.com/libarchive/libarchive/issues/1565"},{"url":"https://github.com/libarchive/libarchive/commit/fba4f123cc456d2b2538f811bb831483bf336bad"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2024245"},{"url":"https://access.redhat.com/security/cve/CVE-2021-23177"},{"url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00030.html","name":"[debian-lts-announce] 20221122 [SECURITY] [DLA 3202-1] libarchive security update","tags":["mailing-list"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-59","type":"CWE","lang":"en","description":"CWE-59 - Improper Link Resolution Before File Access ('Link Following')"}]}],"providerMetadata":{"shortName":"redhat","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateUpdated":"2022-11-22T00:00:00.000Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/libarchive/libarchive/issues/1565","tags":["x_transferred"]},{"url":"https://github.com/libarchive/libarchive/commit/fba4f123cc456d2b2538f811bb831483bf336bad","tags":["x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2024245","tags":["x_transferred"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-23177","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00030.html","name":"[debian-lts-announce] 20221122 [SECURITY] [DLA 3202-1] libarchive security update","tags":["mailing-list","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T19:05:55.631Z"}}]}}}