CVE-2022-25180 Jenkins Pipeline: Groovy Plugin has Insufficiently Protected Credentials

Medium 4.3 Published Updated

Attackers with Run/Replay permission can obtain password parameter values from previous builds in Jenkins Pipeline: Groovy 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-25180?

CVE-2022-25180 is a medium-severity vulnerability in Jenkins Pipeline: Groovy Plugin, published on 15 Feb 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Jenkins Pipeline: Groovy Plugin 2648.va9433432b33c and earlier includes password parameters from the original build in replayed builds, allowing attackers with Run/Replay permission to obtain the values of password parameters passed to previous builds of a Pipeline.

Weakness: CWE-319

Which versions are affected by CVE-2022-25180?

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

PackageAffectedFixed in
org.jenkins-ci.plugins.workflow:workflow-cps MavenAll versions2656.vf7a_e7b_75a_457
org.jenkins-ci.plugins.workflow:workflow-cps MavenAll versions2656.vf7a_e7b_75a_457

Products include Jenkins Pipeline\.

How do I fix CVE-2022-25180?

Upgrade org.jenkins-ci.plugins.workflow:workflow-cps to 2656.vf7a_e7b_75a_457 or later.

Is CVE-2022-25180 being exploited?

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

Sources

Also known as GHSA-qv6q-x9vr-w7j3.

Is CVE-2022-25180 in your software?

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

Check your SBOMs for free