CVE-2020-2291:
Password stored in plain text by Jenkins couchdb-statistics Plugin
3.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.0083%
CWE
Published
5/24/2022
Updated
10/27/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.jenkins-ci.plugins:couchdb-statistics | maven | < 0.4 | 0.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from unencrypted password storage in CouchStatsConfig.xml
. Jenkins plugins typically use a GlobalConfiguration
subclass (CouchStatsConfig
) with @DataBoundSetter
methods for form binding. The configure()
method (triggered on config save
) and setPassword()
method would be responsible for persisting the password value. In vulnerable versions, these functions would lack encryption logic before storing the password to disk. The fix in 0.4 likely added encryption in these methods. While exact code isn't available, this pattern matches Jenkins plugin architecture and the vulnerability description.