VDB
Sign up
—

PYSEC-2021-129

Quick fix

PYSEC-2021-129 — bottle: upgrade to the fixed version with the command below.

pip install --upgrade 'bottle>=0.12.19'

Details

The package bottle from 0 and before 0.12.19 are vulnerable to Web Cache Poisoning by using a vector called parameter cloaking. When the attacker can separate query parameters using a semicolon (;), they can cause a difference in the interpretation of the request between the proxy (running with default configuration) and the server. This can result in malicious requests being cached as completely safe ones, as the proxy would usually not see the semicolon as a separator, and therefore would not include it in a cache key of an unkeyed parameter.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/bottle
Introduced in: 0Fixed in: 0.12.19
Fixpip install --upgrade 'bottle>=0.12.19'

References