VDB
Sign up
HIGH7.5

GHSA-2wp2-chmh-r934

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

Quick fix

GHSA-2wp2-chmh-r934 — golang.org/x/net: upgrade to the fixed version with the command below.

go get golang.org/x/net@v0.0.0-20180925071336-cf3bd585ca2a

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

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/golang.org/x/net
Introduced in: 0Fixed in: 0.0.0-20180925071336-cf3bd585ca2a
Fixgo get golang.org/x/net@v0.0.0-20180925071336-cf3bd585ca2a

References