v1.25 π
·
1271 commits
to master
since this release
Important security fixes, see the Jenkins security advisory here. This release might be incompatible with previous ones for some use-cases, documentation and mitigation are available below.
π Bug Fixes
- SECURITY-1279 / CVE-2019-10343 - Prevent exposing secrets from some plugins as plain text in System logs when loading configs. @oleg-nenashev
- Known affected plugin configurations: password for
UsernamePasswordCredentialsImplfrom the Credentials plugin, private key forBasicSSHUserPrivateKeyfrom the SSH Credentials plugin, SMTP password in the Mail Ext Plugin
- Known affected plugin configurations: password for
- SECURITY-1290 / CVE-2019-10344 - Do not allow users without Overall/Administer permission to access instance-specific documentation and JSON schema. @varyvol
- SECURITY-1446 / CVE-2019-10362 - Escape Jenkins system configuration variables to prevent their resolution when importing configs. @fcojfernandez @oleg-nenashev
- See the documentation here
- SECURITY-1458 / CVE-2019-10363 - Prevent exposing secrets from some plugins as plain text in exported YAMLs. @oleg-nenashev
- Known affected plugin configurations: password in the SGE Cloud Plugin
π₯ Breaking changes
- Jenkins admins might need to review the configuration YAML files and to manually escape Jenkins internal variable expressions. See the documentation here
- If anonymous API access is used to access configuration specification or JSON Schema,
Jenkins admins need to reconfigure the client logic to authenticate as users
with administrative access (e.g. using an access token)
π¦ Tests
- SECURITY-1303 / CVE-2019-10345 - Add integration test to verify the fix @oleg-nenashev
- Add
LoggerRuleasserts toio.jenkins.plugins.casc.misc.Util@oleg-nenashev - Add
exportToString()method for YAML export tesing toJenkinsConfiguredWithCodeRule@oleg-nenashev