Skip to content

ReDoS issue in dparse

Moderate severity GitHub Reviewed Published Sep 24, 2022 in pyupio/dparse • Updated Sep 20, 2024

Package

pip dparse (pip)

Affected versions

< 0.5.2

Patched versions

0.5.2

Description

Impact

dparse versions prior to 0.5.1 contain a regular expression that is vulnerable to ReDoS (Regular Expression Denial of Service).

All users parsing index server URLs with dparse are impacted by this vulnerability.

Patches

The Patch is applied in the 0.5.2 version, all users are recommended to upgrade as soon as possible.

Workarounds

Avoid passing index server URLs in the source file to be parsed.

References

https://github.com/pyupio/dparse/tree/security/remove-intensive-regex

For more information

If you have any questions or comments about this advisory:

References

@yeisonvargasf yeisonvargasf published to pyupio/dparse Sep 24, 2022
Published to the GitHub Advisory Database Sep 27, 2022
Reviewed Sep 27, 2022
Published by the National Vulnerability Database Oct 6, 2022
Last updated Sep 20, 2024

Severity

Moderate

EPSS score

0.132%
(49th percentile)

CVE ID

CVE-2022-39280

GHSA ID

GHSA-8fg9-p83m-x5pq

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.