{"id":"CVE-2018-17143","aliases":["BELL-CVE-2018-17143","EUVD-2022-3747","GHSA-fcf9-6fv2-fc5v","GO-2022-0193"],"status":"published","title":"golang.org/x/net/html has Improper Restriction of Operations within the Bounds of a Memory Buffer","description":"The html package (aka x/net/html) through 2018-09-17 in Go mishandles \u003ctemplate\u003e\u003ctBody\u003e\u003cisindex/action=0\u003e, leading to a \"panic: runtime error\" in inBodyIM in parse.go during an html.Parse call.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02772,"percentile":0.86425,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2018-09-17T14:00:00Z","modified":"2026-06-17T01:45:25Z","fixes":[{"ecosystem":"Go","package":"golang.org/x/net","fixed_in":["0.0.0-20180921000356-2f5d2388922f"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"golang.org/x/net","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.0-20180921000356-2f5d2388922f"}]}]},{"source":"osv","ecosystem":"Go","package":"golang.org/x/net","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20180921000356-2f5d2388922f"}]}]},{"source":"osv","ecosystem":"Go","package":"golang.org/x/net","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20180921000356-2f5d2388922f"}]}]}],"products":[{"vendor":"fedoraproject","product":"fedora"},{"vendor":"golang","product":"net"}],"references":[{"url":"https://go-review.googlesource.com/c/net/+/136575","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory","web","fix"]},{"url":"https://github.com/golang/go/issues/27704","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LREEWY6KNLHRWFZ7OT4HVLMVVCGGUHON/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UKRCI7WIOCOCD3H7NXWRGIRABTQOZOBK/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-17143","tags":["advisory"]},{"url":"https://go.dev/issue/27704","tags":["web","report"]},{"url":"https://go.googlesource.com/net/+/2f5d2388922f370f4355f327fcf4cfe9f5583908","tags":["web","fix"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0193","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LREEWY6KNLHRWFZ7OT4HVLMVVCGGUHON","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UKRCI7WIOCOCD3H7NXWRGIRABTQOZOBK","tags":["web"]},{"url":"https://github.com/advisories/GHSA-fcf9-6fv2-fc5v"},{"url":"https://docs.bell-sw.com/security/cves/CVE-2018-17143","tags":["advisory"]},{"url":"https://github.com/golang/go","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2018-17143","description":"The html package (aka x/net/html) through 2018-09-17 in Go mishandles \u003ctemplate\u003e\u003ctBody\u003e\u003cisindex/action=0\u003e, leading to a \"panic: runtime error\" in inBodyIM in parse.go during an html.Parse call.","status":"published","published":"2018-09-17T14:00:00Z","modified":"2024-08-05T10:39:59.586Z","updated_at":"2026-11-02T14:35:07.672841Z"}],"euvd":[{"id":"EUVD-2022-3747","description":"The html package (aka x/net/html) through 2018-09-17 in Go mishandles \u003ctemplate\u003e\u003ctBody\u003e\u003cisindex/action=0\u003e, leading to a \"panic: runtime error\" in inBodyIM in parse.go during an html.Parse call.","status":"published","published":"2018-09-17T14:00:00Z","modified":"2024-08-05T10:39:59Z","updated_at":"2026-11-03T02:39:39.229856Z"}],"ghsa":[{"id":"GHSA-fcf9-6fv2-fc5v","title":"golang.org/x/net/html has Improper Restriction of Operations within the Bounds of a Memory Buffer","description":"The html package (aka x/net/html) through 2018-09-17 in Go mishandles \u003ctemplate\u003e\u003ctBody\u003e\u003cisindex/action=0\u003e, leading to a \"panic: runtime error\" in inBodyIM in parse.go during an html.Parse call","status":"published","published":"2022-05-13T01:19:23Z","modified":"2024-05-20T21:13:51Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:37:50.750599Z"}],"nvd":[{"id":"CVE-2018-17143","description":"The html package (aka x/net/html) through 2018-09-17 in Go mishandles \u003ctemplate\u003e\u003ctBody\u003e\u003cisindex/action=0\u003e, leading to a \"panic: runtime error\" in inBodyIM in parse.go during an html.Parse call.","status":"published","published":"2018-09-17T14:29:00.81Z","modified":"2026-06-17T01:45:25.313Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:04:40.661264Z"}],"osv":[{"id":"BELL-CVE-2018-17143","title":"CVE-2018-17143 does not affect BellSoft software","status":"withdrawn","published":"2018-09-17T14:29:00Z","modified":"2026-01-26T09:49:45.157333Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:28:14.701973Z"},{"id":"GHSA-fcf9-6fv2-fc5v","title":"golang.org/x/net/html has Improper Restriction of Operations within the Bounds of a Memory Buffer","description":"The html package (aka x/net/html) through 2018-09-17 in Go mishandles \u003ctemplate\u003e\u003ctBody\u003e\u003cisindex/action=0\u003e, leading to a \"panic: runtime error\" in inBodyIM in parse.go during an html.Parse call","status":"published","published":"2022-05-13T01:19:23Z","modified":"2024-05-20T21:13:50Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T15:46:46.39441Z"},{"id":"GO-2022-0193","title":"Panic on unconsidered isindex and template combination in golang.org/x/net/html","description":"The Parse function can panic on some invalid inputs.\n\nFor example, the Parse function panics on the input \"\u003ctemplate\u003e\u003ctBody\u003e\u003cisindex/action=0\u003e\".","status":"published","published":"2022-07-06T18:14:54Z","modified":"2024-05-20T16:03:47Z","updated_at":"2026-11-02T15:47:00.604718Z"}]}}
