VDB
Sign up
—

PYSEC-2022-301

Quick fix

PYSEC-2022-301 — dparse: upgrade to the fixed version with the command below.

pip install --upgrade 'dparse>=8c990170bbd6c0cf212f1151e9025486556062d5'

Details

dparse is a parser for Python dependency files. dparse in versions before 0.5.2 contain a regular expression that is vulnerable to a Regular Expression Denial of Service. All the users parsing index server URLs with dparse are impacted by this vulnerability. A patch has been applied in version `0.5.2`, all the users are advised to upgrade to `0.5.2` as soon as possible. Users unable to upgrade should avoid passing index server URLs in the source file to be parsed.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/dparse
Introduced in: 0Fixed in: 8c990170bbd6c0cf212f1151e9025486556062d5
Fixpip install --upgrade 'dparse>=8c990170bbd6c0cf212f1151e9025486556062d5'

References