Advisory

GO-2022-0197

Also known as: CVE-2018-17847, CVE-2018-17848, GHSA-4r78-hx75-jjj2, GHSA-mv93-wvcp-7m7r

Summary

Panic when parsing certain inputs in golang.org/x/net/html

Details

The Parse function can panic on some invalid inputs.

For example, the Parse function panics on the input "<svg><template><desc><t><svg></template>".

Severity

Not rated by the source.

Dates

Published
2022-07-01 20:15 UTC
Modified
2026-02-04 04:06 UTC

Affected packages and fixes

golang.org/x/net

Go · All systems

Affected

  • introduced 0, fixed 0.0.0-20190125002852-4b62a64f59f7 (semver)

Fixed versions

0.0.0-20190125002852-4b62a64f59f7

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