CVE-2022-3515 Integer overflow in libksba
Remote attackers can execute arbitrary code on target systems by sending specially crafted data, such as malicious S/MIME attachments, to applications using Libksba.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-3515?
CVE-2022-3515 is a critical vulnerability in libksba, published on 12 Jan 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A vulnerability was found in the Libksba library due to an integer overflow within the CRL parser. The vulnerability can be exploited remotely for code execution on the target system by passing specially crafted data to the application, for example, a malicious S/MIME attachment.
Weakness: CWE-190
Which versions are affected by CVE-2022-3515?
It affects 4 products.
Linux distribution packages (40)
libksba AlmaLinux:8 | All versions | 1.3.5-8.el8_6 |
libksba-devel AlmaLinux:8 | All versions | 1.3.5-8.el8_6 |
libksba AlmaLinux:9 | All versions | 1.5.1-5.el9_0 |
libksba-devel AlmaLinux:9 | All versions | 1.5.1-5.el9_0 |
libksba Red Hat:enterprise_linux:7::client | All versions | 0:1.3.0-6.el7_9 |
libksba-debuginfo Red Hat:enterprise_linux:7::client | All versions | 0:1.3.0-6.el7_9 |
libksba-devel Red Hat:enterprise_linux:7::client | All versions | 0:1.3.0-6.el7_9 |
libksba Red Hat:enterprise_linux:7::computenode | All versions | 0:1.3.0-6.el7_9 |
libksba-debuginfo Red Hat:enterprise_linux:7::computenode | All versions | 0:1.3.0-6.el7_9 |
libksba-devel Red Hat:enterprise_linux:7::computenode | All versions | 0:1.3.0-6.el7_9 |
libksba Red Hat:enterprise_linux:7::server | All versions | 0:1.3.0-6.el7_9 |
libksba-debuginfo Red Hat:enterprise_linux:7::server | All versions | 0:1.3.0-6.el7_9 |
libksba-devel Red Hat:enterprise_linux:7::server | All versions | 0:1.3.0-6.el7_9 |
libksba Red Hat:enterprise_linux:7::workstation | All versions | 0:1.3.0-6.el7_9 |
libksba-debuginfo Red Hat:enterprise_linux:7::workstation | All versions | 0:1.3.0-6.el7_9 |
libksba-devel Red Hat:enterprise_linux:7::workstation | All versions | 0:1.3.0-6.el7_9 |
libksba Red Hat:enterprise_linux:8::baseos | All versions | 0:1.3.5-8.el8_6 |
libksba-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:1.3.5-8.el8_6 |
libksba-debugsource Red Hat:enterprise_linux:8::baseos | All versions | 0:1.3.5-8.el8_6 |
libksba-debuginfo Red Hat:enterprise_linux:8::crb | All versions | 0:1.3.5-8.el8_6 |
libksba-debugsource Red Hat:enterprise_linux:8::crb | All versions | 0:1.3.5-8.el8_6 |
libksba-devel Red Hat:enterprise_linux:8::crb | All versions | 0:1.3.5-8.el8_6 |
libksba Red Hat:enterprise_linux:9::baseos | All versions | 0:1.5.1-5.el9_0 |
libksba-debuginfo Red Hat:enterprise_linux:9::baseos | All versions | 0:1.5.1-5.el9_0 |
libksba-debugsource Red Hat:enterprise_linux:9::baseos | All versions | 0:1.5.1-5.el9_0 |
libksba-debuginfo Red Hat:enterprise_linux:9::crb | All versions | 0:1.5.1-5.el9_0 |
libksba-debugsource Red Hat:enterprise_linux:9::crb | All versions | 0:1.5.1-5.el9_0 |
libksba-devel Red Hat:enterprise_linux:9::crb | All versions | 0:1.5.1-5.el9_0 |
libksba Red Hat:rhel_aus:8.2::baseos | All versions | 0:1.3.5-8.el8_2 |
libksba-debuginfo Red Hat:rhel_aus:8.2::baseos | All versions | 0:1.3.5-8.el8_2 |
libksba-debugsource Red Hat:rhel_aus:8.2::baseos | All versions | 0:1.3.5-8.el8_2 |
libksba Red Hat:rhel_e4s:8.1::baseos | All versions | 0:1.3.5-8.el8_1 |
libksba-debuginfo Red Hat:rhel_e4s:8.1::baseos | All versions | 0:1.3.5-8.el8_1 |
libksba-debugsource Red Hat:rhel_e4s:8.1::baseos | All versions | 0:1.3.5-8.el8_1 |
libksba Red Hat:rhel_e4s:8.2::baseos | All versions | 0:1.3.5-8.el8_2 |
libksba-debuginfo Red Hat:rhel_e4s:8.2::baseos | All versions | 0:1.3.5-8.el8_2 |
libksba-debugsource Red Hat:rhel_e4s:8.2::baseos | All versions | 0:1.3.5-8.el8_2 |
libksba Red Hat:rhel_eus:8.4::baseos | All versions | 0:1.3.5-8.el8_4 |
libksba-debuginfo Red Hat:rhel_eus:8.4::baseos | All versions | 0:1.3.5-8.el8_4 |
libksba-debugsource Red Hat:rhel_eus:8.4::baseos | All versions | 0:1.3.5-8.el8_4 |
Products include Gnupg Gnupg, Gnupg Libksba, Gnupg Vs-Desktop, Gpg4win Gpg4win.
How do I fix CVE-2022-3515?
Upgrade to a fixed version.
Is CVE-2022-3515 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-3515 exists.
Other vulnerabilities in libksba
Sources
Also known as ALPINE-CVE-2022-3515, ALSA-2022:7089, ALSA-2022:7090, AZL-13005, DEBIAN-CVE-2022-3515, DLA-3153-1 and 18 more.