CVE-2019-10356 Return of Pointer Value Outside of Expected Rang in Jenkins Script Security Plugin
Attackers can bypass the sandbox to execute arbitrary code in Jenkins scripts, compromising the CI/CD server.
- 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-10356?
CVE-2019-10356 is a high-severity code injection vulnerability in Redhat Openshift Container Platform, published on 31 Jul 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.61 and earlier related to the handling of method pointer expressions allowed attackers to execute arbitrary code in sandboxed scripts.
Which versions are affected by CVE-2019-10356?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:script-security. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:script-security Maven | All versions | 1.62 |
org.jenkins-ci.plugins:script-security Maven | All versions | 1.62 |
Products include Jenkins Script Security, Redhat Openshift Container Platform.
How do I fix CVE-2019-10356?
Upgrade org.jenkins-ci.plugins:script-security to 1.62 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2019-10356 being exploited?
There is no known exploitation of CVE-2019-10356 in the wild and no public exploit code.
Other vulnerabilities in Redhat Openshift Container Platform
- CVE-2019-1003029 Jenkins Script Security Plugin Sandbox Bypass
- CVE-2022-43401 Sandbox bypass vulnerabilities in Jenkins Script Security Plugin and in Pipeline: Groovy Plugin
- CVE-2022-43403 Jenkins Script Security Plugin sandbox bypass vulnerability
- CVE-2022-43404 Sandbox bypass vulnerabilities in Jenkins Script Security Plugin and in Pipeline: Groovy Plugin
- CVE-2020-2279 Sandbox bypass vulnerability in Jenkins Script Security Plugin
Sources
Also known as GHSA-x25x-j4w4-7m59.