CVE-2017-1000107 Sandbox bypass in Jenkins Script Security Plugin sandbox bypass

High 8.8 Published Updated

Attackers can bypass sandbox restrictions to execute arbitrary code via constructor invocations in the Jenkins Script Security 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-2017-1000107?

CVE-2017-1000107 is a high-severity code injection vulnerability in n/a, published on 4 Oct 2017. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Script Security Plugin did not apply sandboxing restrictions to constructor invocations via positional arguments list, super constructor invocations, method references, and type coercion expressions. This could be used to invoke arbitrary constructors and methods, bypassing sandbox protection.

Which versions are affected by CVE-2017-1000107?

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

Products include Jenkins Script Security.

How do I fix CVE-2017-1000107?

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

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2017-1000107 being exploited?

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

Sources

Also known as GHSA-h7rx-r733-7x7r.

Is CVE-2017-1000107 in your software?

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

Check your SBOMs for free