CVE-2020-29362 Memory corruption in n/a

Medium 5.3 Published Updated

A heap-based buffer over-read in p11-kit allows attackers to read up to 4 bytes of memory past the allocation via RPC calls.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-29362?

CVE-2020-29362 is a medium-severity memory corruption vulnerability in n/a, published on 16 Dec 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An 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.

Weakness: CWE-125

Which versions are affected by CVE-2020-29362?

It affects 1 product.

Linux distribution packages (9)
p11-kit SUSE:Linux Enterprise Micro 5.1All versions0.23.2-150000.4.16.1
p11-kit SUSE:Linux Enterprise Micro 5.2All versions0.23.2-150000.4.16.1
p11-kit SUSE:Linux Enterprise Module for Basesystem 15 SP3All versions0.23.2-150000.4.16.1
p11-kit SUSE:Linux Enterprise Module for Package Hub 15 SP3All versions0.23.2-150000.4.16.1
p11-kit SUSE:Linux Enterprise Server 12 SP5All versions0.23.2-8.10.1
p11-kit SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions0.23.2-8.10.1
p11-kit SUSE:Linux Enterprise Software Development Kit 12 SP5All versions0.23.2-8.10.1
p11-kit openSUSE:Leap 15.3All versions0.23.2-150000.4.16.1
p11-kit openSUSE:Leap Micro 5.2All versions0.23.2-150000.4.16.1

Products include P11-Kit Project P11-Kit.

How do I fix CVE-2020-29362?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2020-29362 being exploited?

There is no known exploitation of CVE-2020-29362 in the wild and no public exploit code.

Sources

Also known as ALPINE-CVE-2020-29362, DEBIAN-CVE-2020-29362, GHSA-5wpq-43j2-6qwc, SUSE-SU-2022:2405-1, SUSE-SU-2022:2405-2, SUSE-SU-2022:2871-1 and 1 more.

Is CVE-2020-29362 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free