VDB
KO
MEDIUM 5.4

GHSA-78cv-mqj4-43f7

Tornado has incomplete validation of cookie attributes

Details

Values passed to the `domain`, `path`, and `samesite` arguments of `RequestHandler.set_cookie` were not completely validated in versions of Tornado prior to 6.5.5. In particular, semicolons would be allowed, which could be used to inject attacker-controlled values for other cookie attributes.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / tornado
Introduced in: 0 Fixed in: 6.5.5
Fix pip install --upgrade 'tornado>=6.5.5'

References