CVE-2018-17075 golang.org/x/net/html NULL Pointer Dereference vulnerability

High 7.5 Published Updated

A remote attacker can cause a denial of service via a panic in the Go HTML parser when processing specific template tags.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-17075?

CVE-2018-17075 is a high-severity vulnerability in Fedoraproject Fedora, published on 16 Sep 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-476

Which versions are affected by CVE-2018-17075?

3 open source packages ship an affected version, including golang.org/x/net. It affects 2 products.

PackageAffectedFixed in
golang.org/x/net GoAll versions0.0.0-20180816102801-aaf60122140d
golang.org/x/net GoAll versions0.0.0-20180816102801-aaf60122140d
golang.org/x/net GoAll versions0.0.0-20180816102801-aaf60122140d

Products include Fedoraproject Fedora, Golang Net.

How do I fix CVE-2018-17075?

Upgrade golang.org/x/net to 0.0.0-20180816102801-aaf60122140d or later.

Is CVE-2018-17075 being exploited?

There is no known exploitation of CVE-2018-17075 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as GHSA-5p4h-3377-7w67, GO-2021-0078.

Is CVE-2018-17075 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free