CVE-2018-17848: Improper Validation of Array Index
(updated )
The html package (aka x/net/html) through 2018-09-25 in Go mishandles , leading to a “panic: runtime error” (index out of range) in (*insertionModeStack).pop in node.go, called from inHeadIM, during an html.Parse call.
References
- github.com/advisories/GHSA-mv93-wvcp-7m7r
- github.com/golang/go/issues/27846
- go.dev/cl/159397
- go.dev/issue/27846
- go.googlesource.com/net/+/4b62a64f59f73840b9ab79204c94fee61cd1ba2c
- 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-17848
- pkg.go.dev/vuln/GO-2022-0197
Code Behaviors & Features
Detect and mitigate CVE-2018-17848 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →