CVE-2022-47629
libksba: integer overflow to code execution
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, CBL-Mariner, Julia, Photon OS. Rated lower by Red Hat (high), AlmaLinux (high), Amazon (high), Oracle (high), Rocky Linux (high), Ubuntu (medium).
Description
Libksba before 1.6.3 is prone to an integer overflow vulnerability in the CRL signature parser.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| CBL-Mariner 1.0 | libksba | 0:1.3.5-4.cm1 |
| CBL-Mariner 2.0 | libksba | 0:1.6.3-1.cm2 |
| julia::Julia Ecosystem Security Advisories | Libksba_jll | 1.6.7+0 |
| Photon OS 2.0 | libksba | 1.3.5-2.ph2 |
| Photon OS 3.0 | libksba | 1.3.5-2.ph3 |
| Photon OS 4.0 | libksba, libksba-devel | 1.4.0-3.ph4 |
| Photon OS 5.0 | libksba, libksba-devel | 1.6.3-1.ph5 |
| alma 8 | libksba, libksba-devel | 1.3.5-9.el8_7 |
| alma 9 | libksba, libksba-devel | 1.5.1-6.el9_1 |
| alpine 3.14 | libksba | 1.5.1-r1 |
| alpine 3.15 | libksba | 1.6.3-r0 |
| alpine 3.16 | libksba | 1.6.3-r0 |
Show all 59 entries from 47 sources
| Source | Package | Fixed in |
|---|---|---|
| CBL-Mariner 1.0 | libksba | 0:1.3.5-4.cm1 |
| CBL-Mariner 2.0 | libksba | 0:1.6.3-1.cm2 |
| julia::Julia Ecosystem Security Advisories | Libksba_jll | 1.6.7+0 |
| Photon OS 2.0 | libksba | 1.3.5-2.ph2 |
| Photon OS 3.0 | libksba | 1.3.5-2.ph3 |
| Photon OS 4.0 | libksba | 1.4.0-3.ph4 |
| Photon OS 4.0 | libksba-devel | 1.4.0-3.ph4 |
| Photon OS 5.0 | libksba | 1.6.3-1.ph5 |
| Photon OS 5.0 | libksba-devel | 1.6.3-1.ph5 |
| alma 8 | libksba | 1.3.5-9.el8_7 |
| alma 8 | libksba-devel | 1.3.5-9.el8_7 |
| alma 9 | libksba | 1.5.1-6.el9_1 |
| alma 9 | libksba-devel | 1.5.1-6.el9_1 |
| alpine 3.14 | libksba | 1.5.1-r1 |
| alpine 3.15 | libksba | 1.6.3-r0 |
| alpine 3.16 | libksba | 1.6.3-r0 |
| alpine 3.17 | libksba | 1.6.3-r0 |
| alpine 3.18 | libksba | 1.6.3-r0 |
| alpine 3.19 | libksba | 1.6.3-r0 |
| alpine 3.20 | libksba | 1.6.3-r0 |
| alpine 3.21 | libksba | 1.6.3-r0 |
| alpine 3.22 | libksba | 1.6.3-r0 |
| alpine 3.23 | libksba | 1.6.3-r0 |
| alpine 3.24 | libksba | 1.6.3-r0 |
| alpine edge | libksba | 1.6.3-r0 |
| amazon linux 1 | libksba | 1.3.5-1.11.amzn1 |
| amazon linux 1 | libksba-debuginfo | 1.3.5-1.11.amzn1 |
| amazon linux 1 | libksba-devel | 1.3.5-1.11.amzn1 |
| amazon linux 2 | libksba | 1.3.0-6.amzn2.0.1 |
| amazon linux 2 | libksba-debuginfo | 1.3.0-6.amzn2.0.1 |
| amazon linux 2 | libksba-devel | 1.3.0-6.amzn2.0.1 |
| chainguard | libksba | 0 |
| debian 10 | libksba | 1.3.5-2+deb10u2 |
| debian 11 | libksba | 1.5.0-3+deb11u2 |
| debian 12 | libksba | 1.6.3-1 |
| debian 13 | libksba | 1.6.3-1 |
| debian 14 | libksba | 1.6.3-1 |
| echo | libksba | 1.6.3-1 |
| Oracle Linux 7 | libksba | 1.3.0-7.el7_9 |
| Oracle Linux 7 | libksba-devel | 1.3.0-7.el7_9 |
| Oracle Linux 8 | libksba | 1.3.5-9.el8_7 |
| Oracle Linux 8 | libksba-devel | 1.3.5-9.el8_7 |
| Oracle Linux 9 | libksba | 1.5.1-6.el9_1 |
| Oracle Linux 9 | libksba-devel | 1.5.1-6.el9_1 |
| rapidfort Oracle Linux 9 | libksba | 0:1.5.1-6.el9_1 |
| Red Hat | libksba | no fix listed |
| Red Hat | libksba-devel | no fix listed |
| rocky 8 | libksba | 1.3.5-9.el8_7 |
| rocky 9 | libksba | 1.5.1-6.el9_1 |
| ubuntu 14.04-ESM | libksba | 1.3.0-3ubuntu0.14.04.2+esm2 |
| ubuntu 16.04-ESM | libksba | 1.3.3-1ubuntu0.16.04.1+esm2 |
| ubuntu 18.04 | libksba | 1.3.5-2ubuntu0.18.04.2 |
| ubuntu 18.04-ESM | libksba | 1.3.5-2ubuntu0.18.04.2 |
| ubuntu 20.04 | libksba | 1.3.5-2ubuntu0.20.04.2 |
| ubuntu 20.04-ESM | libksba | 1.3.5-2ubuntu0.20.04.2 |
| ubuntu 22.04 | libksba | 1.6.0-2ubuntu0.2 |
| ubuntu 22.10 | libksba | 1.6.0-3ubuntu1.1 |
| ubuntu 23.04 | libksba | 1.6.3-2 |
| wolfi | libksba | 0 |
References
- https://access.redhat.com/errata/RHSA-2023:0626
- https://access.redhat.com/security/cve/CVE-2022-47629
- https://bugzilla.redhat.com/2161571
- https://bugzilla.redhat.com/show_bug.cgi?id=2161571
- https://creativecommons.org/licenses/by/4.0/
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-47629
- https://dev.gnupg.org/T6284
- https://errata.almalinux.org/9/ALSA-2023-0626.html
All 21 references
- https://errata.rockylinux.org/RLSA-2023:0626
- https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libksba.git%3Ba=commit%3Bh=f61a5ea4e0f6a80fd4b28ef0174bee77793cf070
- https://gnupg.org/blog/20221017-pepe-left-the-ksba.html
- https://linux.oracle.com/cve/CVE-2022-47629.html
- https://linux.oracle.com/errata/ELSA-2023-0626.html
- https://lists.debian.org/debian-lts-announce/2022/12/msg00035.html
- https://nvd.nist.gov/vuln/detail/CVE-2022-47629
- https://security.gentoo.org/glsa/202212-07
- https://security.netapp.com/advisory/ntap-20230316-0011/
- https://ubuntu.com/security/notices/USN-5787-1
- https://ubuntu.com/security/notices/USN-5787-2
- https://www.cve.org/CVERecord?id=CVE-2022-47629
- https://www.debian.org/security/2022/dsa-5305