CVE-2020-29362

NameCVE-2020-29362
DescriptionAn issue was discovered in p11-kit 0.21.1 through 0.23.21. A heap-based buffer over-read has been discovered in the RPC protocol used by thep11-kit server/remote commands and the client library. When the remote entity supplies a byte array through a serialized PKCS#11 function call, the receiving entity may allow the reading of up to 4 bytes of memory past the heap allocation.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2513-1, DSA-4822-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
p11-kit (PTS)bullseye0.23.22-1fixed
bookworm0.24.1-2fixed
sid, trixie0.25.5-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
p11-kitsourcestretch0.23.3-2+deb9u1DLA-2513-1
p11-kitsourcebuster0.23.15-2+deb10u1DSA-4822-1
p11-kitsource(unstable)0.23.22-1

Notes

https://lists.freedesktop.org/archives/p11-glue/2020-December/000712.html
https://github.com/p11-glue/p11-kit/security/advisories/GHSA-5wpq-43j2-6qwc
https://github.com/p11-glue/p11-kit/commit/bda2f543ff8e0195c90e849379ef1585d00677bc (0.23.22)
Introduced in https://github.com/p11-glue/p11-kit/commit/c785ab66890ad7b73c556d6afdf2bb8a32dd50e2 (0.21.1)

Search for package or bug name: Reporting problems