要点
- CVE-2019-14809 是影响 stdlib, go (golang) 的严重 (CVSS 9.8)漏洞。
- 未来 30 天内被利用的概率(EPSS):8.4%,高于 95.0% 的漏洞。
- 修复:升级到 1.12.8, 1.11.13 或更高版本。
| Package | Affected versions | Patched versions |
|---|
| stdlib Go | ≥ 1.12.0-0, < 1.12.8< 1.11.13
| 1.12.81.11.13
|
| go | ≥ 1.12.0, < 1.12.8< 1.11.13
| 1.12.81.11.13
|
Description
The url.Parse function accepts URLs with malformed hosts, such that the Host field can have arbitrary suffixes that appear in neither Hostname() nor Port(), allowing authorization bypasses in certain applications.
NVD description
net/url in Go before 1.11.13 and 1.12.x before 1.12.8 mishandles malformed hosts in URLs, leading to an authorization bypass in some applications. This is related to a Host field with a suffix appearing in neither Hostname() nor Port(), and is related to a non-numeric port number. For example, an attacker can compose a crafted javascript:// URL that results in a hostname of google.com.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free