CVE-2019-10361: M2release Jenkins Maven Release Plug-in Plugin Vulnerability
LOWCVE-2019-10361 is a LOW (CVSS 3.3) jenkins maven release plug-in plugin vulnerability (CWE-522: Insufficiently Protected Credentials) affecting M2release libraries in the Maven ecosystem. The issue involves jenkins maven release plug-in plugin stored credentials in plain text. Remediation is available by upgrading affected packages to version 0.15.0.
CVE-2019-10361 at a Glance
Security Impact
CVSS: 3.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2019-10361
To remediate this vulnerability, upgrade all affected M2release 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.jenkins-ci.plugins.m2release</groupId>
<artifactId>m2release</artifactId>
<version>0.15.0</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.jenkins-ci.plugins.m2release
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2019-10361, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.jenkins-ci.plugins.m2release
Analyze the terminal output to locate any version of M2release in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.15.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.jenkins-ci.plugins.m2release 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-522: Insufficiently Protected Credentials, where the product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval. In M2release, 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-2019-10361 Affected M2release Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.jenkins-ci.plugins.m2release:m2release
|
Maven |
< 0.15.0
|
0.15.0
|
References
Frequently Asked Questions
What is CVE-2019-10361?
Which M2release versions are affected?
What version fixes CVE-2019-10361?
Is m2release affected?
What is the CVSS score of CVE-2019-10361?
What CWE is associated with CVE-2019-10361?
How can I check Maven dependencies for CVE-2019-10361?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vwx8-qpqh-qwm9",
"modified" : "2023-10-26T22:46:52Z",
"published" : "2022-05-24T16:51:51Z",
"aliases" : [ "CVE-2019-10361" ],
"summary" : "Jenkins Maven Release Plug-in Plugin stored credentials in plain text",
"details" : "Jenkins Maven Release Plug-in Plugin stored credentials unencrypted in its global configuration file `org.jvnet.hudson.plugins.m2release.M2ReleaseBuildWrapper.xml` on the Jenkins controller. These credentials could be viewed by users with access to the Jenkins controller file system.\n\nMaven Release Plug-in Plugin now stores credentials encrypted.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.jenkins-ci.plugins.m2release:m2release"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.15.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.14.0"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-10361"
}, {
"type" : "WEB",
"url" : "https://github.com/jenkinsci/m2release-plugin/commit/a2e7f2bb82640a9d3641265a19c86ba141a7e79c"
}, {
"type" : "WEB",
"url" : "https://jenkins.io/security/advisory/2019-07-31/#SECURITY-1435"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2019/07/31/1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-522" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2023-10-26T22:46:52Z",
"nvd_published_at" : "2019-07-31T13:15:00Z"
}
}