CVE-2022-2509 Use after free in GnuTLS
A double free error in GnuTLS PKCS7 signature verification allows attackers to cause denial of service or potentially execute arbitrary code.
- 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-2509?
CVE-2022-2509 is a high-severity use after free vulnerability in Debian Debian Linux, published on 1 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A vulnerability found in gnutls. This security flaw happens because of a double free error occurs during verification of pkcs7 signatures in gnutls_pkcs7_verify function.
Weakness: CWE-415
Which versions are affected by CVE-2022-2509?
It affects 4 products.
Linux distribution packages (40)
gnutls AlmaLinux:8 | All versions | 3.6.16-5.el8_6 |
gnutls-c++ AlmaLinux:8 | All versions | 3.6.16-5.el8_6 |
gnutls-dane AlmaLinux:8 | All versions | 3.6.16-5.el8_6 |
gnutls-devel AlmaLinux:8 | All versions | 3.6.16-5.el8_6 |
gnutls-utils AlmaLinux:8 | All versions | 3.6.16-5.el8_6 |
gnutls AlmaLinux:9 | All versions | 3.7.6-12.el9_0 |
gnutls-c++ AlmaLinux:9 | All versions | 3.7.6-12.el9_0 |
gnutls-dane AlmaLinux:9 | All versions | 3.7.6-12.el9_0 |
gnutls-devel AlmaLinux:9 | All versions | 3.7.6-12.el9_0 |
gnutls-utils AlmaLinux:9 | All versions | 3.7.6-12.el9_0 |
gnutls-c++ Red Hat:enterprise_linux:8::appstream | All versions | 0:3.6.16-5.el8_6 |
gnutls-c++-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:3.6.16-5.el8_6 |
gnutls-dane Red Hat:enterprise_linux:8::appstream | All versions | 0:3.6.16-5.el8_6 |
gnutls-dane-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:3.6.16-5.el8_6 |
gnutls-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:3.6.16-5.el8_6 |
gnutls-debugsource Red Hat:enterprise_linux:8::appstream | All versions | 0:3.6.16-5.el8_6 |
gnutls-devel Red Hat:enterprise_linux:8::appstream | All versions | 0:3.6.16-5.el8_6 |
gnutls-utils Red Hat:enterprise_linux:8::appstream | All versions | 0:3.6.16-5.el8_6 |
gnutls-utils-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:3.6.16-5.el8_6 |
gnutls Red Hat:enterprise_linux:8::baseos | All versions | 0:3.6.16-5.el8_6 |
gnutls-c++-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:3.6.16-5.el8_6 |
gnutls-dane-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:3.6.16-5.el8_6 |
gnutls-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:3.6.16-5.el8_6 |
gnutls-debugsource Red Hat:enterprise_linux:8::baseos | All versions | 0:3.6.16-5.el8_6 |
gnutls-utils-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:3.6.16-5.el8_6 |
gnutls-c++ Red Hat:enterprise_linux:9::appstream | All versions | 0:3.7.6-12.el9_0 |
gnutls-c++-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 0:3.7.6-12.el9_0 |
gnutls-dane Red Hat:enterprise_linux:9::appstream | All versions | 0:3.7.6-12.el9_0 |
gnutls-dane-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 0:3.7.6-12.el9_0 |
gnutls-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 0:3.7.6-12.el9_0 |
gnutls-debugsource Red Hat:enterprise_linux:9::appstream | All versions | 0:3.7.6-12.el9_0 |
gnutls-devel Red Hat:enterprise_linux:9::appstream | All versions | 0:3.7.6-12.el9_0 |
gnutls-utils Red Hat:enterprise_linux:9::appstream | All versions | 0:3.7.6-12.el9_0 |
gnutls-utils-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 0:3.7.6-12.el9_0 |
gnutls Red Hat:enterprise_linux:9::baseos | All versions | 0:3.7.6-12.el9_0 |
gnutls-c++-debuginfo Red Hat:enterprise_linux:9::baseos | All versions | 0:3.7.6-12.el9_0 |
gnutls-dane-debuginfo Red Hat:enterprise_linux:9::baseos | All versions | 0:3.7.6-12.el9_0 |
gnutls-debuginfo Red Hat:enterprise_linux:9::baseos | All versions | 0:3.7.6-12.el9_0 |
gnutls-debugsource Red Hat:enterprise_linux:9::baseos | All versions | 0:3.7.6-12.el9_0 |
gnutls-utils-debuginfo Red Hat:enterprise_linux:9::baseos | All versions | 0:3.7.6-12.el9_0 |
Products include Debian Debian Linux, Fedoraproject Fedora, Gnu Gnutls, Redhat Enterprise Linux.
How do I fix CVE-2022-2509?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2022-2509 being exploited?
There is no known exploitation of CVE-2022-2509 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as ALPINE-CVE-2022-2509, ALSA-2022:6854, ALSA-2022:7105, AZL-10439, CLSA-2023-1685536090, CLSA-2023-1685536317 and 15 more.