CVE-2018-17143
HIGH7.5EPSS 0.61%golang.org/x/net/html has Improper Restriction of Operations within the Bounds of a Memory Buffer
Published: 5/13/2022Modified: 5/20/2024
Description
The html package (aka x/net/html) through 2018-09-17 in Go mishandles <template><tBody><isindex/action=0>, leading to a "panic: runtime error" in inBodyIM in parse.go during an html.Parse call
Affected packages (2)
- Go/golang.org/x/netfrom 0, < 0.0.0-20180921000356-2f5d2388922f
- Go/golang.org/x/netfrom 0, < 0.0.0-20180921000356-2f5d2388922f
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| 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 |
References (9)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2018-17143
- PATCHhttps://github.com/golang/go
- WEBhttps://github.com/golang/go/issues/27704
- WEBhttps://go.dev/issue/27704
- WEBhttps://go.googlesource.com/net/+/2f5d2388922f370f4355f327fcf4cfe9f5583908
- WEBhttps://go-review.googlesource.com/c/net/+/136575
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/LREEWY6KNLHRWFZ7OT4HVLMVVCGGUHON
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/UKRCI7WIOCOCD3H7NXWRGIRABTQOZOBK
- WEBhttps://pkg.go.dev/vuln/GO-2022-0193