CVE-2023-25722 Veracode Scan Jenkins Plugin vulnerable to information disclosure

Medium 5.5 Published Updated

Local users can discover Veracode and proxy credentials by inspecting process arguments in Jenkins or Azure DevOps environments.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-25722?

CVE-2023-25722 is a medium-severity vulnerability in n/a, published on 28 Mar 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A credential-leak issue was discovered in related Veracode products before 2023-03-27. Veracode Scan Jenkins Plugin before 23.3.19.0, when configured for remote agent jobs, invokes the Veracode Java API Wrapper in a manner that allows local users (with OS-level access of the Jenkins remote) to discover Veracode API credentials by listing the process and its arguments. Veracode Scan Jenkins Plugin before 23.3.19.0, when configured for remote agent jobs and when the "Connect using proxy" option is enabled and configured with proxy credentials, allows local users of the Jenkins remote to discover proxy credentials by listing the process and its arguments. Veracode Azure DevOps Extension before 3.20.0 invokes the Veracode Java API Wrapper in a manner that allows local users (with OS-level access to the Azure DevOps Services cloud infrastructure or Azure DevOps Server) to discover Veracode API credentials by listing the process and its arguments. Veracode Azure DevOps Extension before 3.20.0, when configured with proxy credentials, allows users (with shell access to the Azure DevOps Services cloud infrastructure or Azure DevOps Server) to discover proxy credentials by listing the process and its arguments.

Weakness: CWE-200

Which versions are affected by CVE-2023-25722?

2 open source packages ship an affected version, including com.veracode.jenkins:veracode-scan. It affects 1 product.

PackageAffectedFixed in
com.veracode.jenkins:veracode-scan MavenAll versions23.3.19.0
com.veracode.jenkins:veracode-scan MavenAll versions23.3.19.0

Products include Veracode Veracode.

How do I fix CVE-2023-25722?

Upgrade com.veracode.jenkins:veracode-scan to 23.3.19.0 or later.

Is CVE-2023-25722 being exploited?

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

Sources

Also known as GHSA-fjrv-vx9m-4jpj.

Is CVE-2023-25722 in your software?

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

Check your SBOMs for free