CVE-2019-10367: Medium severity jenkins configuration as code vulnerability
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.
Other sources
Due to an incomplete fix of CVE-2019-10343, Jenkins Configuration as Code Plugin 1.26 and earlier did not properly apply masking to some values expected to be hidden when logging the configuration being applied.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2019-10367?
CVE-2019-10367 is considered a medium severity vulnerability due to the potential exposure of sensitive information.
How do I fix CVE-2019-10367?
To fix CVE-2019-10367, upgrade the Configuration as Code Plugin to version 1.27 or later.
What type of vulnerability is CVE-2019-10367?
CVE-2019-10367 is a vulnerability related to improper handling of sensitive information in logs.
Who is affected by CVE-2019-10367?
Users of the Jenkins Configuration as Code Plugin versions up to 1.26 are affected by CVE-2019-10367.
What is the impact of CVE-2019-10367?
The impact of CVE-2019-10367 is the potential disclosure of secrets such as passwords in Jenkins system logs.