CRITICAL9.9
GHSA-c9c2-wcxh-3w5j
Sandbox escape in Jenkins Email Extension Plugin
Quick fix
GHSA-c9c2-wcxh-3w5j — org.jenkins-ci.plugins:email-ext: upgrade to the fixed version with the command below.
# pom.xml: bump <version>2.94</version> for org.jenkins-ci.plugins:email-extDetails
In Jenkins Email Extension Plugin 2.93 and earlier, templates defined inside a folder were not subject to Script Security protection, allowing attackers able to define email templates in folders to bypass the sandbox protection and execute arbitrary code in the context of the Jenkins controller JVM.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.jenkins-ci.plugins:email-ext
Introduced in:
0Fixed in: 2.94Fix
# pom.xml: bump <version>2.94</version> for org.jenkins-ci.plugins:email-extReferences
- https://nvd.nist.gov/vuln/detail/CVE-2023-25765[ADVISORY]
- https://github.com/jenkinsci/email-ext-plugin/commit/ffe44a4c1c1830325787d7ef5e9e19ebf9a936f9[WEB]
- https://github.com/jenkinsci/email-ext-plugin[PACKAGE]
- https://www.jenkins.io/security/advisory/2023-02-15/#SECURITY-2939[WEB]
- http://www.openwall.com/lists/oss-security/2023/02/15/4[WEB]
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/email-ext"]}'