REDHAT-BUG-2425770: Buffer Overflow
Stack-based buffer overflow vulnerability in the filename sanitization logic of GNU Wget2. The flaw occurs when wget2 processes attacker-controlled URL paths while filename restriction options such as --restrict-file-names=windows, unix, or ascii are enabled. During sanitization, the application writes beyond a fixed 1024-byte stack buffer due to missing bounds checks. A specially crafted URL path or HTTP redirect can trigger memory corruption, resulting in a crash or potentially enabling further exploitation. The issue can be triggered remotely with no authentication, requiring only user interaction to invoke wget2.
Affected Software
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2425770?
The severity of REDHAT-BUG-2425770 is considered high due to the potential for a stack-based buffer overflow.
How do I fix REDHAT-BUG-2425770?
To fix REDHAT-BUG-2425770, update to the latest version of GNU Wget2 where the vulnerability has been patched.
Which versions of GNU Wget2 are affected by REDHAT-BUG-2425770?
REDHAT-BUG-2425770 affects all versions of GNU Wget2 prior to the security patch release addressing this vulnerability.
What are the risks associated with REDHAT-BUG-2425770?
The risks associated with REDHAT-BUG-2425770 include potential arbitrary code execution and system compromise through crafted URL paths.
What is the cause of REDHAT-BUG-2425770?
REDHAT-BUG-2425770 is caused by a stack-based buffer overflow in the filename sanitization logic when specific filename restriction options are enabled.