PT-2018-14218 · Google · Html

Tr3Ee

·

Published

2018-10-01

·

Updated

2023-09-25

·

CVE-2018-17846

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions html package (aka x/net/html) through 2018-09-25
Description The issue arises from the mishandling of specific HTML tags, such as <table><math><select><mi><select></table>, which can cause an infinite loop during an html.Parse call. This occurs because inSelectIM and inSelectInTableIM do not comply with a specification. The problem can also be described as html.Parse not properly handling "select" tags, potentially leading to a denial of service if user-supplied input is being parsed.
Recommendations For the html package (aka x/net/html) through 2018-09-25, consider updating to a version newer than 2018-09-25 to resolve the issue. As a temporary workaround, consider restricting the use of the html.Parse function when parsing user-supplied input to minimize the risk of exploitation.

Fix

Infinite Loop

Weakness Enumeration

Related Identifiers

CVE-2018-17846
GHSA-VFW5-HRGQ-H5WF
GO-2020-0014

Affected Products

Html