{"id":"MGASA-2021-0041","summary":"Updated p11-kit packages fix security vulnerabilities","details":"Multiple integer overflows have been discovered in the array allocations in\nthe p11-kit library and the p11-kit list command, where overflow checks are\nmissing before calling realloc or calloc (CVE-2020-29361).\n\nA heap-based buffer over-read has been discovered in the RPC protocol used by\nthe p11-kit server/remote commands and the client library. When the remote\nentity supplies a byte array through a serialized PKCS#11 function call, the\nreceiving entity may allow the reading of up to 4 bytes of memory past the\nheap allocation (CVE-2020-29362).\n\nA heap-based buffer overflow has been discovered in the RPC protocol used by\np11-kit server/remote commands and the client library. When the remote entity\nsupplies a serialized byte array in a CK_ATTRIBUTE, the receiving entity may\nnot allocate sufficient length for the buffer to store the deserialized value\n(CVE-2020-29363).\n","modified":"2026-04-16T00:09:54.789656341Z","published":"2021-01-17T16:07:01Z","upstream":["CVE-2020-29361","CVE-2020-29362","CVE-2020-29363"],"references":[{"type":"ADVISORY","url":"https://advisories.mageia.org/MGASA-2021-0041.html"},{"type":"REPORT","url":"https://bugs.mageia.org/show_bug.cgi?id=27853"},{"type":"ADVISORY","url":"https://github.com/p11-glue/p11-kit/security/advisories/GHSA-q4r3-hm6m-mvc2"},{"type":"ADVISORY","url":"https://github.com/p11-glue/p11-kit/security/advisories/GHSA-5wpq-43j2-6qwc"},{"type":"ADVISORY","url":"https://github.com/p11-glue/p11-kit/security/advisories/GHSA-5j67-fw89-fp6x"},{"type":"WEB","url":"https://github.com/p11-glue/p11-kit/releases/tag/0.23.22"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/4D5CLBYQ6GQU5KRRIBTSC4AOKNPX2JPE/"}],"affected":[{"package":{"name":"p11-kit","ecosystem":"Mageia:7","purl":"pkg:rpm/mageia/p11-kit?arch=source&distro=mageia-7"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23.22-1.mga7"}]}],"ecosystem_specific":{"section":"core"},"database_specific":{"source":"https://advisories.mageia.org/MGASA-2021-0041.json"}}],"schema_version":"1.7.5","credits":[{"name":"Mageia","contact":["https://wiki.mageia.org/en/Packages_Security_Team"],"type":"COORDINATOR"}]}