CVE-2021-38561
HIGH7.5EPSS 0.05%Out-of-bounds read in golang.org/x/text/language
發布日:2022/12/26修改日:2026/4/28
描述
golang.org/x/text/language in golang.org/x/text before 0.3.7 can panic with an out-of-bounds read during BCP 47 language tag parsing. Index calculation is mishandled. If parsing untrusted user input, this can be used as a vector for a denial-of-service attack.
受影響套件(3)
- Debian/golang-golang-x-textfrom 0
- Go/golang.org/x/textfrom 0, < 0.3.7
- Go/golang.org/x/textfrom 0, < 0.3.7
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
參考連結(8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-38561
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-38561
- WEBhttps://deps.dev/advisory/OSV/GO-2021-0113
- WEBhttps://go.dev/cl/340830
- WEBhttps://go.googlesource.com/text/+/383b2e75a7a4198c42f8f87833eefb772868a56f
- WEBhttps://groups.google.com/g/golang-announce
- WEBhttps://pkg.go.dev/golang.org/x/text/language
- WEBhttps://pkg.go.dev/vuln/GO-2021-0113