This advisory announces vulnerabilities in the following Jenkins deliverables:
script-security
,
workflow-cps
The Groovy Sandbox library used by Script Security Plugin and Pipeline Groovy Plugin did not apply sandbox restrictions to finalize methods. This could be used to invoke arbitrary constructors and methods, bypassing sandbox protection.
Finalize methods are now prohibited in classes subject to sandbox security.
This may result in existing sandboxed scripts, such as pipelines, starting to fail if they use this language feature. |
These versions include fixes to the vulnerabilities described above. All prior versions are considered to be affected by these vulnerabilities unless otherwise indicated.
The Jenkins project would like to thank the reporters for discovering and reporting these vulnerabilities: