VDB
Sign up
MEDIUM6.5

PYSEC-2020-148

Quick fix

PYSEC-2020-148 — urllib3: upgrade to the fixed version with the command below.

pip install --upgrade 'urllib3>=1dd69c5c5982fae7c87a620d487c2ebf7a6b436b'

Details

urllib3 before 1.25.9 allows CRLF injection if the attacker controls the HTTP request method, as demonstrated by inserting CR and LF control characters in the first argument of putrequest(). NOTE: this is similar to CVE-2020-26116.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/urllib3
Introduced in: 0Fixed in: 1dd69c5c5982fae7c87a620d487c2ebf7a6b436b
Fixpip install --upgrade 'urllib3>=1dd69c5c5982fae7c87a620d487c2ebf7a6b436b'

References