Advisory

GO-2021-0078

Also known as: CVE-2018-17075, GHSA-5p4h-3377-7w67

Summary

Panic when parsing malformed HTML in golang.org/x/net/html

Details

The HTML parser does not properly handle "in frameset" insertion mode, and can be made to panic when operating on malformed HTML that contains <template> tags. If operating on user input, this may be a vector for a denial of service attack.

Severity

Not rated by the source.

Dates

Published
2021-04-14 20:04 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

golang.org/x/net

Go · All systems

Affected

  • introduced 0, fixed 0.0.0-20180816102801-aaf60122140d (semver)

Fixed versions

0.0.0-20180816102801-aaf60122140d

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences