Name | CVE-2018-17142 |
Description | The html package (aka x/net/html) through 2018-09-17 in Go mishandles <math><template><mo><template>, leading to a "panic: runtime error" in parseCurrentToken in parse.go during an html.Parse call. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
golang-go.net-dev (PTS) | jessie | 0.0~hg20131201-1 | fixed |
golang-golang-x-net-dev (PTS) | stretch (security), stretch (lts), stretch | 1:0.0+git20161013.8b4af36+dfsg-3+deb9u1 | fixed |
| buster | 1:0.0+git20181201.351d144+dfsg-3 | fixed |
The information below is based on the following data on fixed versions.
Notes
- golang-golang-x-net-dev <not-affected> (Vulnerable code introduced later)
- golang-go.net-dev <not-affected> (Vulnerable code introduced later)
https://github.com/golang/go/issues/27702
Fixed by: https://github.com/golang/net/commit/cf3bd585ca2a5a21b057abd8be7eea2204af89d0
Introduced by: https://github.com/golang/net/commit/500e7a4f953ddaf55d316b4d3adc516aa0379622