{"id":"CVE-2018-17143","aliases":["CVE-2018-17143","GHSA-fcf9-6fv2-fc5v","GO-2022-0193"],"related":[],"kind":"vulnerability","state":"published","title":"golang.org/x/net/html has Improper Restriction of Operations within the Bounds of a Memory Buffer","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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","format":"markdown","source":"ghsa"},{"lang":"en","text":"The Parse function can panic on some invalid inputs.\n\nFor example, the Parse function panics on the input \"<template><tBody><isindex/action=0>\".","format":"markdown","source":"go"},{"lang":"es","text":"El paquete html (también conocido como x/net/html) hasta el 2018-09-17 en Go gestiona de manera incorrecta /action=0>, lo que conduce a un \"panic: runtime error\" en inBodyIM en parse.go durante una llamada html.Parse.","source":"nvd"}],"published":"2018-09-17T14:00:00.000Z","modified":"2026-06-17T01:45:25.313Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-119"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.0-20180921000356-2f5d2388922f"}],"ecosystem":"Go","package":"golang.org/x/net","purl":"pkg:golang/golang.org/x/net","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.0-20180921000356-2f5d2388922f"}],"ecosystem":"Go","package":"golang.org/x/net","purl":"pkg:golang/golang.org/x/net","source":"go"},{"ranges":[{"status":"affected","lastAffected":"2018-09-17"}],"vendor":"golang","product":"net","cpe":"cpe:2.3:a:golang:net:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"28"},{"status":"affected","version":"29"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:28:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://go-review.googlesource.com/c/net/+/136575","tags":["fix","patch","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/golang/go/issues/27704","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LREEWY6KNLHRWFZ7OT4HVLMVVCGGUHON/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UKRCI7WIOCOCD3H7NXWRGIRABTQOZOBK/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-17143","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/golang/go","tags":["package"],"sources":["ghsa"]},{"url":"https://go.dev/issue/27704","tags":["report","web"],"sources":["ghsa","go"]},{"url":"https://go.googlesource.com/net/+/2f5d2388922f370f4355f327fcf4cfe9f5583908","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LREEWY6KNLHRWFZ7OT4HVLMVVCGGUHON","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UKRCI7WIOCOCD3H7NXWRGIRABTQOZOBK","tags":["web"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0193","tags":["web"],"sources":["ghsa"]}],"credits":["@tr3ee"],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2018-17143","url":"https://www.cve.org/CVERecord?id=CVE-2018-17143","licence":"CVE Terms of Use","modified":"2024-08-05T10:39:59.586Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fcf9-6fv2-fc5v","url":"https://github.com/advisories/GHSA-fcf9-6fv2-fc5v","licence":"CC-BY-4.0","modified":"2024-05-20T21:13:50.000Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0193","url":"https://pkg.go.dev/vuln/GO-2022-0193","licence":"CC-BY-4.0","modified":"2024-05-20T16:03:47.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2018-17143","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-17143","licence":"Public domain","modified":"2026-06-17T01:45:25.313Z"}],"updatedAt":"2026-11-25T22:57:39.650Z","epss":{"score":0.02772,"percentile":0.8672,"date":"2026-12-01T12:00:22.000Z"}}