Lucene search

K
osvGoogleOSV:PYSEC-2021-129
HistoryJan 18, 2021 - 12:15 p.m.

PYSEC-2021-129

2021-01-1812:15:00
Google
osv.dev
10
bottle package
web cache poisoning
parameter cloaking
proxy caching

EPSS

0.004

Percentile

74.9%

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.