CVE-2022-43403 Jenkins Script Security Plugin sandbox bypass vulnerability

Critical 9.9 Published Updated

Attackers with script permissions can bypass sandbox restrictions to execute arbitrary code on the Jenkins controller.

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-43403?

CVE-2022-43403 is a critical vulnerability in Jenkins Script Security Plugin, published on 19 Oct 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A sandbox bypass vulnerability involving casting an array-like value to an array type in Jenkins Script Security Plugin 1183.v774b_0b_0a_a_451 and earlier allows attackers with permission to define and run sandboxed scripts, including Pipelines, to bypass the sandbox protection and execute arbitrary code in the context of the Jenkins controller JVM.

Which versions are affected by CVE-2022-43403?

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 versions1184.v85d16b_d851b_3
org.jenkins-ci.plugins:script-security MavenAll versions1184.v85d16b_d851b_3

Products include Jenkins Script Security.

How do I fix CVE-2022-43403?

Upgrade org.jenkins-ci.plugins:script-security to 1184.v85d16b_d851b_3 or later.

Is CVE-2022-43403 being exploited?

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

Sources

Also known as GHSA-f6mq-6fx5-w2ch.

Is CVE-2022-43403 in your software?

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

Check your SBOMs for free