CVE-2020-29363

NameCVE-2020-29363
DescriptionAn issue was discovered in p11-kit 0.23.6 through 0.23.21. A heap-based buffer overflow has been discovered in the RPC protocol used by p11-kit server/remote commands and the client library. When the remote entity supplies a serialized byte array in a CK_ATTRIBUTE, the receiving entity may not allocate sufficient length for the buffer to store the deserialized value.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-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-kitsourcestretch(not affected)
p11-kitsourcebuster0.23.15-2+deb10u1DSA-4822-1
p11-kitsource(unstable)0.23.22-1

Notes

[stretch] - p11-kit <not-affected> (Vulnerable code introduced later)
https://lists.freedesktop.org/archives/p11-glue/2020-December/000712.html
https://github.com/p11-glue/p11-kit/security/advisories/GHSA-5j67-fw89-fp6x
https://github.com/p11-glue/p11-kit/commit/2617f3ef888e103324a28811886b99ed0a56346d (0.23.22)
Introduced in https://github.com/p11-glue/p11-kit/commit/ba49b85ecf280e7fb6eec96c3ef33c50122e75a6 (0.23.6)

Search for package or bug name: Reporting problems