GHSA-8fg9-p83m-x5pq

Source
https://github.com/advisories/GHSA-8fg9-p83m-x5pq
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/09/GHSA-8fg9-p83m-x5pq/GHSA-8fg9-p83m-x5pq.json
Aliases
Published
2022-09-27T15:28:00Z
Modified
2024-02-16T08:12:26.023150Z
Summary
ReDoS issue in dparse
Details

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: * Email us at support@pyup.io

References

Affected packages

PyPI / dparse

Package

Name
dparse

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0The exact introduced commit is unknown
Fixed
0.5.2

Affected versions

0.*

0.1.0
0.1.1
0.2.0
0.2.1
0.3.0
0.4.0
0.4.1
0.5.0
0.5.1