CVE-2019-10399 Sandbox bypass vulnerability in Jenkins Script Security Plugin

Medium 4.2 Published Updated

Attackers can bypass the sandbox to execute arbitrary code in Jenkins scripts via improper handling of property names in increment and decrement expressions.

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-2019-10399?

CVE-2019-10399 is a medium-severity code injection vulnerability in Jenkins Script Security Plugin, published on 12 Sep 2019. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A sandbox bypass vulnerability in Jenkins Script Security Plugin 1.62 and earlier related to the handling of property names in property expressions in increment and decrement expressions allowed attackers to execute arbitrary code in sandboxed scripts.

Which versions are affected by CVE-2019-10399?

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

Products include Jenkins Script Security.

How do I fix CVE-2019-10399?

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

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

Is CVE-2019-10399 being exploited?

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

Sources

Also known as GHSA-m26f-w3h5-62fj.

Is CVE-2019-10399 in your software?

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

Check your SBOMs for free