CVE-2022-43414 Jenkins NUnit Plugin vulnerable to Protection Mechanism Failure

Medium 5.3 Published Updated

Attackers controlling agent processes can read arbitrary test result files from the Jenkins controller via path traversal in the NUnit 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-2022-43414?

CVE-2022-43414 is a medium-severity path traversal vulnerability in Jenkins NUnit Plugin, published on 19 Oct 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Jenkins NUnit Plugin 0.27 and earlier implements an agent-to-controller message that parses files inside a user-specified directory as test results, allowing attackers able to control agent processes to obtain test results from files in an attacker-specified directory on the Jenkins controller.

Weakness: CWE-552

Which versions are affected by CVE-2022-43414?

2 open source packages ship an affected version, including org.jenkins-ci.plugins:nunit. It affects 1 product.

PackageAffectedFixed in
org.jenkins-ci.plugins:nunit MavenAll versions0.28
org.jenkins-ci.plugins:nunit MavenAll versions0.28

Products include Jenkins Nunit.

How do I fix CVE-2022-43414?

Upgrade org.jenkins-ci.plugins:nunit to 0.28 or later.

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

Is CVE-2022-43414 being exploited?

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

Sources

Also known as GHSA-8cxw-wvhc-p4x4.

Is CVE-2022-43414 in your software?

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

Check your SBOMs for free