CVE-2022-27208 Arbitrary file read vulnerability in Jenkins kubernetes-cd Plugin

Medium 6.5 Published Updated

Users with Credentials/Create permission can read arbitrary files on the Jenkins controller via path traversal in the Kubernetes Continuous Deploy 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-27208?

CVE-2022-27208 is a medium-severity path traversal vulnerability in Jenkins Kubernetes Continuous Deploy Plugin, published on 15 Mar 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Jenkins Kubernetes Continuous Deploy Plugin 2.3.1 and earlier allows users with Credentials/Create permission to read arbitrary files on the Jenkins controller.

Weakness: CWE-22

Which versions are affected by CVE-2022-27208?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:kubernetes-cd MavenAll versions to 2.3.1None
org.jenkins-ci.plugins:kubernetes-cd MavenAll versions to 2.3.1None

Products include Jenkins Kubernetes Continuous Deploy.

How do I fix CVE-2022-27208?

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

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

Sources

Also known as GHSA-fpxq-w7p9-r924.

Is CVE-2022-27208 in your software?

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

Check your SBOMs for free