{"id":"MGASA-2022-0488","summary":"Updated libtar packages fix security vulnerability","details":"After tar_close(), libtar.c releases the memory pointed to by pointer t.\nAfter tar_close() is called in the list() function, it continues to use\npointer t: free_longlink_longname(t-\u003eth_buf) . As a result, the released\nmemory is used (use-after-free). (CVE-2021-33640)\n","modified":"2026-04-16T04:43:54.333011711Z","published":"2022-12-30T22:39:00Z","upstream":["CVE-2021-33640"],"references":[{"type":"ADVISORY","url":"https://advisories.mageia.org/MGASA-2022-0488.html"},{"type":"REPORT","url":"https://bugs.mageia.org/show_bug.cgi?id=31337"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/4S4PJRCJLEAWN2EKXGLSOBTL7O57V7NC/"}],"affected":[{"package":{"name":"libtar","ecosystem":"Mageia:8","purl":"pkg:rpm/mageia/libtar?arch=source&distro=mageia-8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.20-9.2.mga8"}]}],"ecosystem_specific":{"section":"core"},"database_specific":{"source":"https://advisories.mageia.org/MGASA-2022-0488.json"}}],"schema_version":"1.7.5","credits":[{"name":"Mageia","contact":["https://wiki.mageia.org/en/Packages_Security_Team"],"type":"COORDINATOR"}]}