{ "dataType": "CVE_RECORD", "dataVersion": "5.1", "cveMetadata": { "state": "PUBLISHED", "cveId": "CVE-2021-31566", "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "assignerShortName": "redhat", "dateUpdated": "2024-08-03T23:03:33.486Z", "dateReserved": "2021-12-16T00:00:00.000Z", "datePublished": "2022-08-23T00:00:00.000Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "shortName": "redhat", "dateUpdated": "2022-11-22T00:00:00.000Z" }, "descriptions": [ { "lang": "en", "value": "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": [ { "vendor": "n/a", "product": "libarchive", "versions": [ { "version": "Fixed in libarchive 3.5.2", "status": "affected" } ] } ], "references": [ { "url": "https://github.com/libarchive/libarchive/issues/1566" }, { "url": "https://github.com/libarchive/libarchive/commit/b41daecb5ccb4c8e3b2c53fd6147109fc12c3043" }, { "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2024237" }, { "url": "https://access.redhat.com/security/cve/CVE-2021-31566" }, { "name": "[debian-lts-announce] 20221122 [SECURITY] [DLA 3202-1] libarchive security update", "tags": [ "mailing-list" ], "url": "https://lists.debian.org/debian-lts-announce/2022/11/msg00030.html" } ], "problemTypes": [ { "descriptions": [ { "type": "CWE", "lang": "en", "description": "CWE-59 - Improper Link Resolution Before File Access ('Link Following')", "cweId": "CWE-59" } ] } ] }, "adp": [ { "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2024-08-03T23:03:33.486Z" }, "title": "CVE Program Container", "references": [ { "url": "https://github.com/libarchive/libarchive/issues/1566", "tags": [ "x_transferred" ] }, { "url": "https://github.com/libarchive/libarchive/commit/b41daecb5ccb4c8e3b2c53fd6147109fc12c3043", "tags": [ "x_transferred" ] }, { "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2024237", "tags": [ "x_transferred" ] }, { "url": "https://access.redhat.com/security/cve/CVE-2021-31566", "tags": [ "x_transferred" ] }, { "name": "[debian-lts-announce] 20221122 [SECURITY] [DLA 3202-1] libarchive security update", "tags": [ "mailing-list", "x_transferred" ], "url": "https://lists.debian.org/debian-lts-announce/2022/11/msg00030.html" } ] } ] } }