CVE-2023-2632 API keys stored and displayed in plain text by Code Dx Plugin

Medium 4.3 Published Updated

Attackers with extended read permissions or file system access can view unencrypted API keys stored in Jenkins job configuration files.

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-2023-2632?

CVE-2023-2632 is a medium-severity vulnerability in Jenkins Code Dx Plugin, published on 16 May 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Jenkins Code Dx Plugin 3.1.0 and earlier stores Code Dx server API keys unencrypted in job config.xml files on the Jenkins controller where they can be viewed by users with Item/Extended Read permission or access to the Jenkins controller file system.

Weakness: CWE-522, CWE-256

Which versions are affected by CVE-2023-2632?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:codedx MavenAll versions4.0.0
org.jenkins-ci.plugins:codedx MavenAll versions4.0.0

Products include Jenkins Code Dx.

How do I fix CVE-2023-2632?

Upgrade org.jenkins-ci.plugins:codedx to 4.0.0 or later.

Is CVE-2023-2632 being exploited?

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

Sources

Also known as GHSA-gpc2-f62m-c6h6.

Is CVE-2023-2632 in your software?

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

Check your SBOMs for free