VDB
Sign up
MEDIUM6.5

GHSA-r9jf-hf9x-7hrv

Exposure of Sensitive Information to an Unauthorized Actor Jenkins Script Security Plugin

Quick fix

GHSA-r9jf-hf9x-7hrv — org.jenkins-ci.plugins:script-security: upgrade to the fixed version with the command below.

# pom.xml: bump <version>1.37</version> for org.jenkins-ci.plugins:script-security

Details

In Jenkins Script Security Plugin version 1.36 and earlier, users with the ability to configure sandboxed Groovy scripts are able to use a type coercion feature in Groovy to create new `File` objects from strings. This allowed reading arbitrary files on the Jenkins master file system. Such a type coercion is now subject to sandbox protection and considered to be a call to the `new File(String)` constructor for the purpose of in-process script approval.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.jenkins-ci.plugins:script-security
Introduced in: 0Fixed in: 1.37
Fix# pom.xml: bump <version>1.37</version> for org.jenkins-ci.plugins:script-security

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:maven/org.jenkins-ci.plugins/script-security"]}'