CVE-2020-29362
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 20.04 | p11-kit | Fixed | 0.23.20-1ubuntu0.1 | UBUNTU-CVE-2020-29362 |
| Ubuntu 18.04 | p11-kit | Fixed | 0.23.9-2ubuntu0.1 | UBUNTU-CVE-2020-29362 |
| Ubuntu 16.04 | p11-kit | Fixed | 0.23.2-5~ubuntu16.04.2 | UBUNTU-CVE-2020-29362 |
| Debian 14 | p11-kit | Fixed | 0.23.22-1 | DEBIAN-CVE-2020-29362 |
| Debian 13 | p11-kit | Fixed | 0.23.22-1 | DEBIAN-CVE-2020-29362 |
| Debian 12 | p11-kit | Fixed | 0.23.22-1 | DEBIAN-CVE-2020-29362 |
| Red Hat Enterprise Linux 8 | p11-kit | Fixed | 0:0.23.22-1.el8 | RHSA-2021:1609 |
| Red Hat Enterprise Linux 8 | p11-kit-devel | Fixed | 0:0.23.22-1.el8 | RHSA-2021:1609 |
| Red Hat Enterprise Linux 8 | p11-kit-server | Fixed | 0:0.23.22-1.el8 | RHSA-2021:1609 |
| Red Hat Enterprise Linux 8 | p11-kit-trust | Fixed | 0:0.23.22-1.el8 | RHSA-2021:1609 |
| Red Hat Enterprise Linux 7 | p11-kit | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | p11-kit-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | p11-kit-doc | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | p11-kit-trust | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | p11-kit | Not affected | ||
| Red Hat Enterprise Linux 6 | p11-kit-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | p11-kit-trust | Not affected | ||
| AlmaLinux 8 | p11-kit | Fixed | 0.23.22-1.el8 | ALSA-2021:1609 |
| AlmaLinux 8 | p11-kit-devel | Fixed | 0.23.22-1.el8 | ALSA-2021:1609 |
| AlmaLinux 8 | p11-kit-server | Fixed | 0.23.22-1.el8 | ALSA-2021:1609 |
| AlmaLinux 8 | p11-kit-trust | Fixed | 0.23.22-1.el8 | ALSA-2021:1609 |
| Rocky Linux 8 | p11-kit | Fixed | 0:0.23.22-1.el8 | RLSA-2021:1609 |
| Alpine Linux 3.24 | p11-kit | Fixed | 0.23.22-r0 | ALPINE-CVE-2020-29362 |
| Alpine Linux 3.23 | p11-kit | Fixed | 0.23.22-r0 | ALPINE-CVE-2020-29362 |
| Alpine Linux 3.22 | p11-kit | Fixed | 0.23.22-r0 | ALPINE-CVE-2020-29362 |
| Alpine Linux 3.21 | p11-kit | Fixed | 0.23.22-r0 | ALPINE-CVE-2020-29362 |
| Alpine Linux 3.20 | p11-kit | Fixed | 0.23.22-r0 | ALPINE-CVE-2020-29362 |
| Alpine Linux 3.19 | p11-kit | Fixed | 0.23.22-r0 | ALPINE-CVE-2020-29362 |
| Alpine Linux 3.18 | p11-kit | Fixed | 0.23.22-r0 | ALPINE-CVE-2020-29362 |
| Alpine Linux 3.17 | p11-kit | Fixed | 0.23.22-r0 | ALPINE-CVE-2020-29362 |
| Alpine Linux 3.16 | p11-kit | Fixed | 0.23.22-r0 | ALPINE-CVE-2020-29362 |
| Alpine Linux 3.15 | p11-kit | Fixed | 0.23.22-r0 | ALPINE-CVE-2020-29362 |
| Alpine Linux 3.14 | p11-kit | Fixed | 0.23.22-r0 | ALPINE-CVE-2020-29362 |
| Alpine Linux 3.13 | p11-kit | Fixed | 0.23.22-r0 | ALPINE-CVE-2020-29362 |
| Alpine Linux 3.12 | p11-kit | Fixed | 0.23.22-r0 | ALPINE-CVE-2020-29362 |
| Alpine Linux 3.11 | p11-kit | Fixed | 0.23.18.1-r1 | ALPINE-CVE-2020-29362 |
| Alpine Linux 3.10 | p11-kit | Fixed | 0.23.16.1-r1 | ALPINE-CVE-2020-29362 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://www.debian.org/security/2021/dsa-4822 (vendor-advisory)
References
- https://github.com/p11-glue/p11-kit/releases
- https://github.com/p11-glue/p11-kit/security/advisories/GHSA-5wpq-43j2-6qwc
- https://www.debian.org/security/2021/dsa-4822
- https://lists.debian.org/debian-lts-announce/2021/01/msg00002.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.