{"id":"MGASA-2022-0335","summary":"Updated libtar packages fix security vulnerability","details":"An attacker who submits a crafted tar file with size in header struct\nbeing 0 may be able to trigger an calling of malloc(0) for a variable\ngnu_longlink, causing an out-of-bounds read. (CVE-2021-33643)\n\nAn attacker who submits a crafted tar file with size in header struct\nbeing 0 may be able to trigger an calling of malloc(0) for a variable\ngnu_longname, causing an out-of-bounds read. (CVE-2021-33644)\n\nThe th_read() function doesn't free a variable t-\u003eth_buf.gnu_longlink\nafter allocating memory, which may cause a memory leak. (CVE-2021-33645)\n\nThe th_read() function doesn't free a variable t-\u003eth_buf.gnu_longname\nafter allocating memory, which may cause a memory leak. (CVE-2021-33646)\n","modified":"2026-02-04T03:48:08.674834Z","published":"2022-09-16T19:39:55Z","related":["CVE-2021-33643","CVE-2021-33644","CVE-2021-33645","CVE-2021-33646"],"references":[{"type":"ADVISORY","url":"https://advisories.mageia.org/MGASA-2022-0335.html"},{"type":"REPORT","url":"https://bugs.mageia.org/show_bug.cgi?id=30821"},{"type":"REPORT","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/OD4HEBSTI22FNYKOKK7W3X6ZQE6FV3XC/"}],"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.1.mga8"}]}],"ecosystem_specific":{"section":"core"},"database_specific":{"source":"https://advisories.mageia.org/MGASA-2022-0335.json"}}],"schema_version":"1.7.3","credits":[{"name":"Mageia","contact":["https://wiki.mageia.org/en/Packages_Security_Team"],"type":"COORDINATOR"}]}