Vulnerabilities in pkg:maven/org.fedoraproject.jenkins.plugins/copr
PACKAGECVE-2020-2177 is a MODERATE (CVSS 4.3) credentials stored vulnerability (CWE-312: Cleartext Storage of Sensitive Information) affecting Copr libraries in the Maven ecosystem. The issue involves credentials stored in plain text by jenkins copr plugin. Remediation is available by upgrading affected packages to version 0.6.1.
pkg:maven/org.fedoraproject.jenkins.plugins/copr
Vulnerability advisories affecting package pkg:maven/org.fedoraproject.jenkins.plugins/copr. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-4wx5-c723-xvwv | CVE-2020-2177 | MODERATE | Credentials stored in plain text by Jenkins Copr Plugin |
CVE-2020-2177 at a Glance
Security Impact
CVSS: 4.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2020-2177
To remediate this vulnerability, upgrade all affected Copr dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.fedoraproject.jenkins.plugins</groupId>
<artifactId>copr</artifactId>
<version>0.6.1</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.fedoraproject.jenkins.plugins
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2020-2177, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.fedoraproject.jenkins.plugins
Analyze the terminal output to locate any version of Copr in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.6.1), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.fedoraproject.jenkins.plugins command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-312: Cleartext Storage of Sensitive Information, where the product stores sensitive information in cleartext within a resource that might be accessible to another control sphere. In Copr, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2020-2177 Affected Copr Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.fedoraproject.jenkins.plugins:copr
|
Maven |
< 0.6.1
|
0.6.1
|
References
Frequently Asked Questions
What is CVE-2020-2177?
Which Copr versions are affected?
What version fixes CVE-2020-2177?
Is copr affected?
What is the CVSS score of CVE-2020-2177?
What CWE is associated with CVE-2020-2177?
How can I check Maven dependencies for CVE-2020-2177?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4wx5-c723-xvwv",
"modified" : "2022-12-16T23:00:33Z",
"published" : "2022-05-24T17:15:35Z",
"aliases" : [ "CVE-2020-2177" ],
"summary" : "Credentials stored in plain text by Jenkins Copr Plugin",
"details" : "Copr Plugin 0.3 and earlier stores credentials unencrypted in job `config.xml` files as part of its configuration. These credentials can be viewed by users with Extended Read permission or access to the Jenkins controller file system.\n\nCopr Plugin 0.6.1 stores these credentials encrypted. This change is effective once the job configuration is saved the next time.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.fedoraproject.jenkins.plugins:copr"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.6.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.3"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-2177"
}, {
"type" : "WEB",
"url" : "https://github.com/jenkinsci/copr-plugin/commit/23ea581364d64645cd90d2c5d97a4b94781f61f9"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/jenkinsci/copr-plugin"
}, {
"type" : "WEB",
"url" : "https://jenkins.io/security/advisory/2020-04-16/#SECURITY-1556"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2020/04/16/4"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-256", "CWE-312" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-12-16T23:00:33Z",
"nvd_published_at" : "2020-04-16T19:15:00Z"
}
}