Advisory

GHSA-2wp2-chmh-r934

Also known as: CVE-2018-17142, GO-2022-0192

Summary

golang.org/x/net/html NULL Pointer Dereference vulnerability

Details

The html package (aka x/net/html) through 2018-09-17 in Go mishandles <math><template><mo><template>, leading to a "panic: runtime error" in parseCurrentToken in parse.go during an html.Parse call

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-13 01:19 UTC
Modified
2024-05-20 20:48 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences