REDHAT-BUG-2372952: Buffer Overflow
Stack-based buffer overflow vulnerability in the interactive shell of the xmllint tool in libxml2. The issue is caused by an unsafe use of strcpy() when processing user-supplied command-line input. When an attacker passes an overly long argument to any shell command (e.g., exit, cat, etc.), the input exceeds the fixed-size stack buffer, resulting in a crash or potentially arbitrary code execution on systems lacking stack protections. This vulnerability affects only the interactive shell and requires that an attacker can influence or control the command input to xmllint, which is uncommon in typical deployments.
Affected Software
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2372952?
The severity of REDHAT-BUG-2372952 is classified as critical due to the potential for remote code execution.
How do I fix REDHAT-BUG-2372952?
To fix REDHAT-BUG-2372952, update to the latest version of libxml2 that includes the security patch addressing this vulnerability.
What systems are affected by REDHAT-BUG-2372952?
REDHAT-BUG-2372952 affects systems utilizing the xmllint tool within libxml2.
What actions can an attacker perform using REDHAT-BUG-2372952?
An attacker can exploit REDHAT-BUG-2372952 to execute arbitrary commands through stack-based buffer overflow.
Is there a workaround for REDHAT-BUG-2372952 before applying a patch?
A potential workaround for REDHAT-BUG-2372952 is to avoid using the xmllint tool with untrusted user-supplied input.