GitHub Advisory Database
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | tornado | All versions before 6.5.5 (fixed in 6.5.5) |