CVE-2022-28160 Arbitrary file read vulnerability in Jenkins Tests Selector Plugin

Medium 6.5 Published Updated

Attackers with Item/Configure permission can read arbitrary files on the Jenkins controller via the Tests Selector Plugin.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-28160?

CVE-2022-28160 is a medium-severity path traversal vulnerability in Jenkins Tests Selector Plugin, published on 29 Mar 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Jenkins Tests Selector Plugin 1.3.3 and earlier allows users with Item/Configure permission to read arbitrary files on the Jenkins controller.

Weakness: CWE-668

Which versions are affected by CVE-2022-28160?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:selected-tests-executor MavenAll versions to 1.3.3None
org.jenkins-ci.plugins:selected-tests-executor MavenAll versions to 1.3.3None

Products include Jenkins Tests Selector.

How do I fix CVE-2022-28160?

No fix has been published for CVE-2022-28160 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-2022-28160 being exploited?

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

Sources

Also known as GHSA-3r5x-x6xf-m8fv.

Is CVE-2022-28160 in your software?

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

Check your SBOMs for free