CVE Vulnerabilities

CVE-2022-2509

Double Free

Published: Aug 01, 2022 | Modified: Nov 07, 2023
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM

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

The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.

Affected Software

Name Vendor Start Version End Version
Gnutls Gnu * 3.7.7 (excluding)
Red Hat Enterprise Linux 8 RedHat gnutls-0:3.6.16-5.el8_6 *
Red Hat Enterprise Linux 8 RedHat gnutls-0:3.6.16-5.el8_6 *
Red Hat Enterprise Linux 9 RedHat gnutls-0:3.7.6-12.el9_0 *
Red Hat Enterprise Linux 9 RedHat gnutls-0:3.7.6-12.el9_0 *
Gnutls28 Ubuntu bionic *
Gnutls28 Ubuntu focal *
Gnutls28 Ubuntu jammy *
Gnutls28 Ubuntu kinetic *
Gnutls28 Ubuntu trusty *
Gnutls28 Ubuntu upstream *
Gnutls28 Ubuntu xenial *

Potential Mitigations

References