CVE-2019-10355: Incorrect Type Cast

Published Jul 31, 2019
·
Updated

A sandbox bypass vulnerability in Jenkins Script Security Plugin 1.61 and earlier related to the handling of type casts allowed attackers to execute arbitrary code in sandboxed scripts.

Other sources

Sandbox protection in Jenkins Script Security Plugin could be circumvented by casting crafted objects to other types. This allowed attackers able to specify sandboxed scripts to invoke constructors that weren’t whitelisted.

Additionally, this could be used to read arbitrary files on the Jenkins master.

Casting collections to other types as an alternative syntax for constructor invocation is now only allowed when the collection type is defined in java.util, and prohibited otherwise. Casting files and enums to arrays is now intercepted by the sandbox and treated as the invocation of an equivalent method.

External References:

https://jenkins.io/security/advisory/2019-07-31/#SECURITY-1465%20(1)

Red Hat

Affected Software

5 affected componentsFixes available
maven/org.jenkins-ci.plugins:script-security<=1.61
1.62
redhat/jenkins-plugin-script-security<1.62
1.62
Jenkins Script Security Jenkins<=1.61
redhat OpenShift Container Platform=3.11
redhat OpenShift Container Platform=4.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.jenkins-ci.plugins:script-security to a version that resolves this vulnerability.

    Fixed in 1.62
  2. Upgrade

    Upgrade redhat/jenkins-plugin-script-security to a version that resolves this vulnerability.

    Fixed in 1.62

Event History

Jul 31, 2019
CVE Published
via MITRE·12:45 PM
Data Sourced
via MITRE·12:45 PM
Description
Aug 1, 2019
Data Sourced
via Red Hat·03:18 AM
DescriptionSeverityAffected Software
May 24, 2022
Advisory Published
04:51 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2019-10355?

CVE-2019-10355 is a sandbox bypass vulnerability in Jenkins Script Security Plugin 1.61 and earlier that allows attackers to execute arbitrary code in sandboxed scripts.

2

What is the severity of CVE-2019-10355?

The severity of CVE-2019-10355 is high, with a CVSS score of 8.8.

3

How does CVE-2019-10355 affect Jenkins Script Security Plugin?

CVE-2019-10355 affects Jenkins Script Security Plugin versions 1.61 and earlier.

4

How can I fix CVE-2019-10355?

To fix CVE-2019-10355, you should upgrade Jenkins Script Security Plugin to version 1.62.

5

Are there any additional references for CVE-2019-10355?

Yes, you can find additional information about CVE-2019-10355 at the following references: - [Jenkins Security Advisory](https://jenkins.io/security/advisory/2019-07-31/#SECURITY-1465) - [Redhat Bugzilla](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1735516) - [OpenShift Jenkins README](https://github.com/openshift/jenkins/blob/master/README.md#jenkins-security-advisories-the-master-image-from-this-repository-and-the-oc-binary)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203