CVE-2020-29361
An issue was discovered in p11-kit 0.21.1 through 0.23.21. Multiple integer overflows have been discovered in the array allocations in the p11-kit library and the p11-kit list command, where overflow checks are missing before calling realloc or calloc.
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.
Ubuntu has not shipped a fix for every release yet.
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-29361 |
| Ubuntu 18.04 | p11-kit | Fixed | 0.23.9-2ubuntu0.1 | UBUNTU-CVE-2020-29361 |
| Ubuntu 16.04 | p11-kit | Fixed | 0.23.2-5~ubuntu16.04.2 | UBUNTU-CVE-2020-29361 |
| Ubuntu 14.04 | p11-kit | Fix pending | 0.20.2-2ubuntu2+esm1 (Ubuntu Pro) | UBUNTU-CVE-2020-29361 |
| Debian 14 | p11-kit | Fixed | 0.23.22-1 | DEBIAN-CVE-2020-29361 |
| Debian 13 | p11-kit | Fixed | 0.23.22-1 | DEBIAN-CVE-2020-29361 |
| Debian 12 | p11-kit | Fixed | 0.23.22-1 | DEBIAN-CVE-2020-29361 |
| 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-29361 |
| Alpine Linux 3.23 | p11-kit | Fixed | 0.23.22-r0 | ALPINE-CVE-2020-29361 |
| Alpine Linux 3.22 | p11-kit | Fixed | 0.23.22-r0 | ALPINE-CVE-2020-29361 |
| Alpine Linux 3.21 | p11-kit | Fixed | 0.23.22-r0 | ALPINE-CVE-2020-29361 |
| Alpine Linux 3.20 | p11-kit | Fixed | 0.23.22-r0 | ALPINE-CVE-2020-29361 |
| Alpine Linux 3.19 | p11-kit | Fixed | 0.23.22-r0 | ALPINE-CVE-2020-29361 |
| Alpine Linux 3.18 | p11-kit | Fixed | 0.23.22-r0 | ALPINE-CVE-2020-29361 |
| Alpine Linux 3.17 | p11-kit | Fixed | 0.23.22-r0 | ALPINE-CVE-2020-29361 |
| Alpine Linux 3.16 | p11-kit | Fixed | 0.23.22-r0 | ALPINE-CVE-2020-29361 |
| Alpine Linux 3.15 | p11-kit | Fixed | 0.23.22-r0 | ALPINE-CVE-2020-29361 |
| Alpine Linux 3.14 | p11-kit | Fixed | 0.23.22-r0 | ALPINE-CVE-2020-29361 |
| Alpine Linux 3.13 | p11-kit | Fixed | 0.23.22-r0 | ALPINE-CVE-2020-29361 |
| Alpine Linux 3.12 | p11-kit | Fixed | 0.23.22-r0 | ALPINE-CVE-2020-29361 |
| Alpine Linux 3.11 | p11-kit | Fixed | 0.23.18.1-r1 | ALPINE-CVE-2020-29361 |
| Alpine Linux 3.10 | p11-kit | Fixed | 0.23.16.1-r1 | ALPINE-CVE-2020-29361 |
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-q4r3-hm6m-mvc2
- https://www.debian.org/security/2021/dsa-4822
- https://lists.debian.org/debian-lts-announce/2021/01/msg00002.html
- https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
- https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
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.