CVE-2018-12976 Path traversal in n/a
An attacker can achieve remote code execution on Go Doc Dot Org servers by exploiting directory traversal via crafted go-import tags.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-12976?
CVE-2018-12976 is a critical path traversal vulnerability in n/a, published on 5 Jul 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In Go Doc Dot Org (gddo) through 2018-06-27, an attacker could use specially crafted <go-import> tags in packages being fetched by gddo to cause a directory traversal and remote code execution.
Weakness: CWE-22
Which versions are affected by CVE-2018-12976?
It affects 1 product.
Products include Godoc Go Doc Dot Org.
How do I fix CVE-2018-12976?
No fix has been published for CVE-2018-12976 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2018-12976 being exploited?
There is no known exploitation of CVE-2018-12976 in the wild and no public exploit code.