First published: Tue Sep 03 2024(Updated: )
There is a MEDIUM severity vulnerability affecting CPython. Regular expressions that allowed excessive backtracking during tarfile.TarFile header parsing are vulnerable to ReDoS via specifically-crafted tar archives.
Affected Software | Affected Version | How to fix |
---|---|---|
CPython |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of REDHAT-BUG-2309426 is classified as MEDIUM.
REDHAT-BUG-2309426 affects CPython by allowing ReDoS attacks through excessive backtracking in regular expressions during tarfile header parsing.
A ReDoS attack, in the context of REDHAT-BUG-2309426, involves exploiting the excessive backtracking of regular expressions to degrade the performance of the application.
To mitigate the risks associated with REDHAT-BUG-2309426, ensure that you are using the latest security patches and validate tar archives before processing.
While specific versions are not mentioned, CPython versions susceptible to excessive backtracking in tarfile processing are affected by REDHAT-BUG-2309426.