VDB
Sign up
HIGH7.5

GHSA-5p4h-3377-7w67

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

Quick fix

GHSA-5p4h-3377-7w67 — golang.org/x/net: upgrade to the fixed version with the command below.

go get golang.org/x/net@v0.0.0-20180816102801-aaf60122140d

Details

The html package (aka x/net/html) before 2018-07-13 in Go mishandles "in frameset" insertion mode, leading to a "panic: runtime error" for html.Parse of <template><object>, <template><applet>, or <template><marquee>. This is related to HTMLTreeBuilder.cpp in WebKit.

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-20180816102801-aaf60122140d
Fixgo get golang.org/x/net@v0.0.0-20180816102801-aaf60122140d

References