REDHAT-BUG-2392528: Buffer Overflow
Stack-based buffer overflow vulnerability in the PKCS#11 token initialization function gnutlspkcs11tokeninit() of the GnuTLS library. The flaw is caused by an unsafe memcpy into a fixed-size stack buffer (flabel[32]) without proper bounds checking. If an attacker provides a token label longer than 32 bytes, it leads to out-of-bounds memory writes, causing a crash or, in some environments, potential code execution. Although the vulnerability requires local access or interaction with a malicious PKCS#11 token, it poses a security risk by enabling denial-of-service or possible privilege escalation in applications relying on GnuTLS.
Affected Software
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2392528?
The severity of REDHAT-BUG-2392528 is considered critical due to the potential for remote code execution via a stack-based buffer overflow.
How do I fix REDHAT-BUG-2392528?
To fix REDHAT-BUG-2392528, update the GnuTLS library to the latest patched version that addresses the buffer overflow vulnerability.
What versions of GnuTLS are affected by REDHAT-BUG-2392528?
REDHAT-BUG-2392528 affects certain versions of the GnuTLS library prior to the patch release that resolves this vulnerability.
What impact could REDHAT-BUG-2392528 have on my system?
The impact of REDHAT-BUG-2392528 could lead to denial of service or remote code execution, allowing an attacker to compromise the system.
How does REDHAT-BUG-2392528 occur?
REDHAT-BUG-2392528 occurs due to an unsafe memcpy operation in the PKCS#11 token initialization function which lacks adequate bounds checking.