Advisory

GO-2022-0192

Also known as: CVE-2018-17142, GHSA-2wp2-chmh-r934

Summary

Incorrect parsing of nested templates 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 "<math><template><mo><template>".

Severity

Not rated by the source.

Dates

Published
2022-07-01 20:11 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-20180925071336-cf3bd585ca2a (semver)

Fixed versions

0.0.0-20180925071336-cf3bd585ca2a

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