{"id":"MGASA-2021-0305","summary":"Updated p7zip package fixes security vulnerabilities","details":"In p7zip-17.03, the function NCompress::CCopyCoder::Code in\nCPP/7zip/Common/StreamObjects.cpp will call outStream-\u003eWrite where a memcpy\nuses a NULL pointer as destination address, leading to a crash (CVE-2021-3465).\n\nNull pointer dereference in function Reserve() found in p7zip 16.02\n(rhbz#1951218).\n\nNull Pointer Dereference  in function NArchive::NLzh::CItem::GetUnixTime found\nin p7zip 16.02 (rhbz#1951224).\n\nThe p7zip package has been patched to fix these issues.\n\nAlso, the Mageia 7 package has been updated to version 17.03.\n","modified":"2026-04-16T04:43:27.475948596Z","published":"2021-06-30T23:58:41Z","upstream":["CVE-2021-3465"],"references":[{"type":"ADVISORY","url":"https://advisories.mageia.org/MGASA-2021-0305.html"},{"type":"REPORT","url":"https://bugs.mageia.org/show_bug.cgi?id=28903"},{"type":"WEB","url":"https://github.com/jinfeihan57/p7zip/releases"},{"type":"WEB","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/message/OQBZYFULI5NBGLWDHKHSVMRMYNY2XC5Q/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/OJQ6YRT2OALFI2LGZSLJD5T74MV6PJ7V/"}],"affected":[{"package":{"name":"p7zip","ecosystem":"Mageia:7","purl":"pkg:rpm/mageia/p7zip?arch=source&distro=mageia-7"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"17.03-1.1.mga7"}]}],"ecosystem_specific":{"section":"core"},"database_specific":{"source":"https://advisories.mageia.org/MGASA-2021-0305.json"}},{"package":{"name":"p7zip","ecosystem":"Mageia:8","purl":"pkg:rpm/mageia/p7zip?arch=source&distro=mageia-8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"17.03-1.1.mga8"}]}],"ecosystem_specific":{"section":"core"},"database_specific":{"source":"https://advisories.mageia.org/MGASA-2021-0305.json"}}],"schema_version":"1.7.5","credits":[{"name":"Mageia","contact":["https://wiki.mageia.org/en/Packages_Security_Team"],"type":"COORDINATOR"}]}