CVE-2019-10367
Insertion of Sensitive Information into Log File in Jenkins Configuration as Code Plugin
Description
Configuration as Code Plugin logs the changes it applies to the Jenkins system log. Secrets such as passwords should be masked (i.e. replaced with asterisks) in that log to prevent accidental disclosure. Configuration as Code Plugin inspects the type and looks for a field, getter, or constructor argument corresponding to the property, making the secret detection much more robust for the purpose of log message masking. This was implemented in the fix for SECURITY-1279 in the 2019-07-31 security advisory.
That fix was incomplete and did not cover a log message written to the logger io.jenkins.plugins.casc.impl.configurators.DataBoundConfigurator.
Configuration as Code Plugin now uses the same secret detection for these log messages.
As a workaround, administrators can configure the logging level of the logger io.jenkins.plugins.casc.impl.configurators.DataBoundConfigurator to a level that does not include these messages. Configuration as Code Plugin 1.25 and earlier logs these messages at the INFO level, Configuration as Code Plugin 1.26 logs them at FINE. See the logging documentation for details.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| io.jenkins » configuration-as-code | < 1.27 | 1.27 |
Blast radius
57% of the dependent artifacts (4) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1,386 |
Most used dependents
- io.jenkins.configuration-as-code » configuration-as-code-support10 usages
- com.datapipe.jenkins.plugins » hashicorp-vault-plugin6 usages
- io.jenkins.configuration-as-code » integrations0 usages
- com.sonymobile.jenkins.plugins.kerberos-sso » kerberos-sso0 usages
- com.bambora.jenkins.plugin.casc.secrets.ssm » configuration-as-code-secret-ssm0 usages
- io.jenkins.plugins » configuration-as-code-groovy0 usages
- io.jenkins.plugins » simple-pull-request-job0 usages
Computed from the dependency graph of build 20261202.2045 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2019-10367 | nvd.nist.gov |
| Web | jenkinsci/configuration-as-code-plugin commit 322ef83 | github.com |
| Web | security/advisory/2019-08-07 | jenkins.io |
| Web | security/advisory/2019-07-31 | jenkins.io |
| Web | lists/oss-security/2019/08/07/1 | openwall.com |
