OSV 1.4.0 · github-reviewed · 修改于 2026-09-02 23:38
发布时间
2026-08-22 23:31
GitHub 审查时间
2026-09-02 23:38
NVD 发布时间
2026-08-22 23:16
源文件
advisories/github-reviewed/2026/08/GHSA-qg9p-xrhj-435m/GHSA-qg9p-xrhj-435m.json
该公告已于 2026-09-02 23:38 撤回
内容仅用于保留外部引用,请不要将其当作仍然有效的安全结论。
This advisory has been withdrawn because it is a duplicate of GHSA-3gqm-fcw5-w839. This link is maintained to preserve external references.
NLTK before 3.10.0 (affected versions <= 3.9.4) contains a server-side request forgery (SSRF) vulnerability in the validate_network_url() function in nltk/pathsec.py. The _resolve_hostname() helper catches OSError and ValueError during socket.getaddrinfo() and returns an empty list; when DNS resolution fails, the validation loop executes no IP checks and the function fails open, allowing urlopen() to proceed without validation. An attacker who can trigger DNS resolution failures or use DNS rebinding can bypass SSRF protections and reach restricted network resources, including cloud metadata endpoints (e.g., 169.254.169.254).