CVE-2022-45379 Whole-script approval in Jenkins Script Security Plugin vulnerable to SHA-1 collisions

High 7.5 Published Updated

Attackers can bypass script approval restrictions in Jenkins by exploiting SHA-1 hash collisions in the Script Security Plugin.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-45379?

CVE-2022-45379 is a high-severity vulnerability in Jenkins Script Security Plugin, published on 15 Nov 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Jenkins Script Security Plugin 1189.vb_a_b_7c8fd5fde and earlier stores whole-script approvals as the SHA-1 hash of the script, making it vulnerable to collision attacks.

Weakness: CWE-326

Which versions are affected by CVE-2022-45379?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:script-security MavenAll versions1190.v65867a_a_47126
org.jenkins-ci.plugins:script-security MavenAll versions1190.v65867a_a_47126

Products include Jenkins Script Security.

How do I fix CVE-2022-45379?

Upgrade org.jenkins-ci.plugins:script-security to 1190.v65867a_a_47126 or later.

Is CVE-2022-45379 being exploited?

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

Sources

Also known as GHSA-fv42-mx39-6fpw.

Is CVE-2022-45379 in your software?

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

Check your SBOMs for free