CVE-2022-23113 Path traversal vulnerability in Jenkins Publish Over SSH Plugin

Medium 4.3 Published Updated

Attackers with Item/Configure permission can discover Jenkins controller file names via path traversal in the Publish Over SSH plugin.

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

What is CVE-2022-23113?

CVE-2022-23113 is a medium-severity path traversal vulnerability in Jenkins Publish Over SSH Plugin, published on 12 Jan 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Jenkins Publish Over SSH Plugin 1.22 and earlier performs a validation of the file name specifying whether it is present or not, resulting in a path traversal vulnerability allowing attackers with Item/Configure permission to discover the name of the Jenkins controller files.

Weakness: CWE-22

Which versions are affected by CVE-2022-23113?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:publish-over-ssh MavenAll versions1.23
org.jenkins-ci.plugins:publish-over-ssh MavenAll versions1.23

Products include Jenkins Publish Over Ssh.

How do I fix CVE-2022-23113?

Upgrade org.jenkins-ci.plugins:publish-over-ssh to 1.23 or later.

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

Is CVE-2022-23113 being exploited?

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

Sources

Also known as GHSA-j8rg-4hjm-8r95.

Is CVE-2022-23113 in your software?

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

Check your SBOMs for free