Tornadoの静的ファイル参照でパストラバーサルの脆弱性 ファイルの存在を推測される恐れ
Summary
Tornado 6.6より前のバージョンには、static_url()のバージョン用ハッシュ処理にパストラバーサルの脆弱性があります。攻撃者は../を使って静的ファイル以外のファイルのSHA-512ハッシュを取得し、ファイルの存在を確かめられるほか、/dev/zeroを指定してイベントループを止められるおそれがあります。修正版の6.6で対処できます。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Tornado 6.6より前のバージョンには、static_url()のバージョン用ハッシュ処理にパストラバーサルの脆弱性があります。攻撃者は../を使って静的ファイル以外のファイルのSHA-512ハッシュを取得し、ファイルの存在を確かめられるほか、/dev/zeroを指定してイベントループを止められるおそれがあります。修正版の6.6で対処できます。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| tornadowebtornado |
< 6.6→ 6.6 |
6.6 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-123534 python-tornado Fix available
- Ubuntu UBUNTU-CVE-2026-123534 python-tornado No fixed version in this record
Original description The description as published by the source.
Tornado before 6.6 contains a path traversal vulnerability in RequestHandler.static_url() and get_version() that allows attackers to hash files outside static_path using ../ sequences. Attackers controlling input passed to static_url() can obtain SHA-512 hashes of readable files to confirm their existence, or reference /dev/zero to block the event loop indefinitely.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web github.com