CVE-2019-10343: Medium severity jenkins configuration as code vulnerability

Published Jul 31, 2019
·
Updated

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.

Between Configuration as Code Plugin 0.8-alpha and 1.0, log messages contained values if the values were specified using properties in the YAML file (SECURITY-929).

Since Configuration as Code Plugin 1.1, log messages in Configuration as Code Plugin instead mask values of type Secret, which is used in Jenkins to store the values encrypted on disk. This did not work in many instances, as plugins could use the Secret type to store credentials encrypted on disk while not having the Secret type appear in their Java API.

Configuration as Code Plugin now 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. As a workaround, administrators can configure the logging level of the logger io.jenkins.plugins.casc.Attribute to a level that does not include INFO messages. See the logging documentation for details.

Other sources

Jenkins Configuration as Code Plugin 1.24 and earlier did not properly apply masking to values expected to be hidden when logging the configuration being applied.

Affected Software

2 affected componentsFixes available
maven/io.jenkins:configuration-as-code<=1.24
1.25
jenkins Configuration As Code Jenkins<=1.24

Event History

Jul 31, 2019
CVE Published
via MITRE·12:45 PM
Data Sourced
via MITRE·12:45 PM
Description
May 24, 2022
Advisory Published
04:51 PM

Frequently Asked Questions

1

What is the severity of CVE-2019-10343?

CVE-2019-10343 is classified as a moderate severity vulnerability affecting Jenkins Configuration as Code Plugin.

2

How do I fix CVE-2019-10343?

To mitigate CVE-2019-10343, update the Jenkins Configuration as Code Plugin to version 1.25 or later.

3

What types of information are exposed in the logs due to CVE-2019-10343?

CVE-2019-10343 can expose sensitive information including secrets such as passwords in Jenkins system logs.

4

Which versions of the Configuration as Code Plugin are affected by CVE-2019-10343?

CVE-2019-10343 affects Configuration as Code Plugin versions between 0.8-alpha and 1.0.

5

Is there a risk of information leakage with CVE-2019-10343?

Yes, CVE-2019-10343 poses a risk of information leakage since passwords and secrets may be logged in plaintext.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203