CVE-2016-4986 Jenkins TAP Plugin allows Path Traversal

High 7.5 Published Updated

Remote attackers can read arbitrary files on the server via a directory traversal flaw in the Jenkins TAP plugin.

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

What is CVE-2016-4986?

CVE-2016-4986 is a high-severity path traversal vulnerability in n/a, published on 9 Feb 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Directory traversal vulnerability in the TAP plugin before 1.25 in Jenkins allows remote attackers to read arbitrary files via an unspecified parameter.

Weakness: CWE-22

Which versions are affected by CVE-2016-4986?

2 open source packages ship an affected version, including org.tap4j:tap. It affects 1 product.

PackageAffectedFixed in
org.tap4j:tap MavenAll versions1.25
org.tap4j:tap MavenAll versions1.25

Products include Jenkins Tap.

How do I fix CVE-2016-4986?

Upgrade org.tap4j:tap to 1.25 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2016-4986 being exploited?

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

Sources

Also known as GHSA-24jc-w55j-5p83.

Is CVE-2016-4986 in your software?

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

Check your SBOMs for free