Updated p7zip package fixes security vulnerabilities
Publication date: 30 Jun 2021Modification date: 30 Jun 2021
Type: security
Affected Mageia releases : 7 , 8
CVE: CVE-2021-3465
Description
In p7zip-17.03, the function NCompress::CCopyCoder::Code in CPP/7zip/Common/StreamObjects.cpp will call outStream->Write where a memcpy uses a NULL pointer as destination address, leading to a crash (CVE-2021-3465). Null pointer dereference in function Reserve() found in p7zip 16.02 (rhbz#1951218). Null Pointer Dereference in function NArchive::NLzh::CItem::GetUnixTime found in p7zip 16.02 (rhbz#1951224). The p7zip package has been patched to fix these issues. Also, the Mageia 7 package has been updated to version 17.03.
References
- https://bugs.mageia.org/show_bug.cgi?id=28903
- https://github.com/jinfeihan57/p7zip/releases
- https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/message/OQBZYFULI5NBGLWDHKHSVMRMYNY2XC5Q/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/OJQ6YRT2OALFI2LGZSLJD5T74MV6PJ7V/
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3465
SRPMS
7/core
- p7zip-17.03-1.1.mga7
8/core
- p7zip-17.03-1.1.mga8