{"schemaVersion":3,"id":"CVE-2018-17143","aliases":["GHSA-fcf9-6fv2-fc5v","GO-2022-0193"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2018-09-17T14:00:00.000Z","modified":"2024-08-05T10:39:59.586Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true}]},"epss":{"probability":0.02772,"percentile":0.86149,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.02772},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02772,"percentile":0.86149}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02772,"percentile":0.86149}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_GOLANG_GO","name":"Go","source":"github","url":"https://github.com/golang/go/issues/27016","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer","description":"The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/119.html"}],"affected":[{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"28","noFixRecorded":false,"fixedIn":null},{"text":"29","noFixRecorded":false,"fixedIn":null}],"versionsText":"28 | 29","eol":{"isEol":true,"eolDate":"2019-05-28T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"28","label":"28","eolFrom":"2019-05-28T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"golang.org/x","product":"net","name":"golang.org/x/net","label":"net","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/golang.org/x/net","purlType":"golang","versions":[{"text":"< 0.0.0-20180921000356-2f5d2388922f","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.0.0-20180921000356-2f5d2388922f","eol":null,"hubHref":null},{"vendor":"golang","product":"net","name":"net","label":"net","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2018-09-17","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2018-09-17","eol":null,"hubHref":"/vendor/golang/net"}],"affectedCount":3,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://go-review.googlesource.com/c/net/+/136575","label":"go-review.googlesource.com/c/net/+/136575","hostname":"go-review.googlesource.com","tags":["X Refsource CONFIRM","Patch","Vendor Advisory","WEB","FIX"]},{"url":"https://github.com/golang/go/issues/27704","label":"github.com/golang/go/issues/27704","hostname":"github.com","tags":["X Refsource MISC","Exploit","Third Party Advisory","WEB"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LREEWY6KNLHRWFZ7OT4HVLMVVCGGUHON/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UKRCI7WIOCOCD3H7NXWRGIRABTQOZOBK/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-17143","label":"nvd.nist.gov/vuln/detail/CVE-2018-17143","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/golang/go","label":"github.com/golang/go","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://go.dev/issue/27704","label":"go.dev/issue/27704","hostname":"go.dev","tags":["WEB","REPORT"]},{"url":"https://go.googlesource.com/net/+/2f5d2388922f370f4355f327fcf4cfe9f5583908","label":"go.googlesource.com/net/+/2f5d2388922f370f4355f327fcf4cfe9f5583908","hostname":"go.googlesource.com","tags":["WEB","FIX"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LREEWY6KNLHRWFZ7OT4HVLMVVCGGUHON","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UKRCI7WIOCOCD3H7NXWRGIRABTQOZOBK","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0193","label":"pkg.go.dev/vuln/GO-2022-0193","hostname":"pkg.go.dev","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2018-09-17T14:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T10:39:59.586Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":41,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T22:21:49.026Z","stale":false,"partial":false}}