CVE-2018-17846: Loop with Unreachable Exit Condition ('Infinite Loop')
The html package (aka x/net/html) through 2018-09-25 in Go mishandles , leading to an infinite loop during an html.Parse call because inSelectIM and inSelectInTableIM do not comply with a specification.
References
- github.com/advisories/GHSA-vfw5-hrgq-h5wf
- github.com/golang/go/issues/27842
- go-review.googlesource.com/c/137275
- go.dev/issue/27842
- go.googlesource.com/net/+/d26f9f9a57f3fab6a695bec0d84433c2c50f8bbf
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LREEWY6KNLHRWFZ7OT4HVLMVVCGGUHON/
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UKRCI7WIOCOCD3H7NXWRGIRABTQOZOBK/
- nvd.nist.gov/vuln/detail/CVE-2018-17846
- pkg.go.dev/vuln/GO-2020-0014
Detect and mitigate CVE-2018-17846 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →