CVE-2019-10343 – io.jenkins:configuration-as-code
Package
Manager: maven
Name: io.jenkins:configuration-as-code
Vulnerable Version: >=0 <1.25
Severity
Level: Medium
CVSS v3.1: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00015 pctl0.01925
Details
Insertion of Sensitive Information into Log File in Jenkins Configuration as Code Plugin 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.
Metadata
Created: 2022-05-24T16:51:50Z
Modified: 2023-10-26T16:44:50Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-vwq9-cmqr-3c8c/GHSA-vwq9-cmqr-3c8c.json
CWE IDs: ["CWE-532"]
Alternative ID: GHSA-vwq9-cmqr-3c8c
Finding: F009
Auto approve: 1