cve.bz

CVE-2020-29362 p11-kit project p11-kit: Out-of-bounds Read

5.3 mediumEPSS 2.3%

Medium (5.3) in p11-kit project p11-kit. EPSS 2.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
2.3% (unchanged from 2.3% a week ago; 2.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 83rd percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-29362 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-29362?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-29362?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-29362 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2020-29362

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2020-29362](https://cve.bz/cve/badge/CVE-2020-29362.svg)](https://cve.bz/cve/CVE-2020-29362)

HTML:

<a href="https://cve.bz/cve/CVE-2020-29362"><img src="https://cve.bz/cve/badge/CVE-2020-29362.svg" alt="CVE-2020-29362"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
p11-kit_project:p11-kitfrom 0.23.6 before 0.23.22

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9p11-kit0.23.3-2+deb9u1DLA-2513-1
Debian10p11-kit0.23.15-2+deb10u1DSA-4822-1
Debian12, 13, 14p11-kit0.23.22-1DEBIAN-CVE-2020-29362
Ubuntu16.04:LTSp11-kit0.23.2-5~ubuntu16.04.2UBUNTU-CVE-2020-29362 USN-4677-1
Ubuntu18.04:LTSp11-kit0.23.9-2ubuntu0.1UBUNTU-CVE-2020-29362 USN-4677-1
Ubuntu20.04:LTSp11-kit0.23.20-1ubuntu0.1UBUNTU-CVE-2020-29362 USN-4677-1
Red Hatenterprise_linux:8::baseosp11-kit, p11-kit-devel, p11-kit-trust and 5 more0:0.23.22-1.el8RHSA-2021:1609
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2, Linux Enterprise Module for Basesystem 15 SP3 and 1 morep11-kit0.23.2-150000.4.16.1SUSE-SU-2022:2405-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5p11-kit0.23.2-8.10.1SUSE-SU-2022:2871-1
openSUSELeap 15.3p11-kit0.23.2-150000.4.16.1SUSE-SU-2022:2405-1
openSUSELeap Micro 5.2p11-kit0.23.2-150000.4.16.1SUSE-SU-2022:2405-2
AlmaLinux8p11-kit, p11-kit-devel, p11-kit-trust and 1 more0.23.22-1.el8ALSA-2021:1609
Rocky Linux8p11-kit0:0.23.22-1.el8RLSA-2021:1609
Alpinev3.10p11-kit0.23.16.1-r1ALPINE-CVE-2020-29362
Alpinev3.11p11-kit0.23.18.1-r1ALPINE-CVE-2020-29362
Alpinev3.12, v3.13, v3.14 and 10 morep11-kit0.23.22-r0ALPINE-CVE-2020-29362

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The p11-kit library is primarily intended to be used locally, in which case the attacker needs to have sufficient permission to access the p11-kit communication. Although there may be use cases of p11-kit being used with a remote entity, all parties must be considered trusted.

As a result, Red Hat considers this vulnerability with a Medium severity.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8p11-kit-0:0.23.22-1.el8Fixed 2021-05-18RHSA-2021:1609
Red Hat Enterprise Linux 6p11-kitNot affected
Red Hat Enterprise Linux 7p11-kitWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-29362.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON