VDB
Sign up
MEDIUM6.1

PYSEC-2019-128

Quick fix

PYSEC-2019-128 — twisted: upgrade to the fixed version with the command below.

pip install --upgrade 'twisted>=6c61fc4503ae39ab8ecee52d10f10ee2c371d7e2'

Details

In Twisted before 19.2.1, twisted.web did not validate or sanitize URIs or HTTP methods, allowing an attacker to inject invalid characters such as CRLF.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/twisted
Introduced in: 0Fixed in: 6c61fc4503ae39ab8ecee52d10f10ee2c371d7e2
Fixpip install --upgrade 'twisted>=6c61fc4503ae39ab8ecee52d10f10ee2c371d7e2'

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:pypi/twisted"]}'