CVE-2017-1000242: Git client Insecure Temporary File Usage Vulnerability
LOWCVE-2017-1000242 is a LOW (CVSS 3.3) insecure temporary file usage vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Git client libraries in the Maven ecosystem. The issue involves insecure temporary file usage in jenkins git client plugin. Remediation is available by upgrading affected packages to version 2.4.3.
CVE-2017-1000242 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-2017-1000242
To remediate this vulnerability, upgrade all affected Git client 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</groupId>
<artifactId>git-client</artifactId>
<version>2.4.3</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
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2017-1000242, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.jenkins-ci.plugins
Analyze the terminal output to locate any version of Git client in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.4.3), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.jenkins-ci.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-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Git client, 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-2017-1000242 Affected Git client Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.jenkins-ci.plugins:git-client
|
Maven |
< 2.4.3
|
2.4.3
|
References
Frequently Asked Questions
What is CVE-2017-1000242?
Which Git client versions are affected?
What version fixes CVE-2017-1000242?
Is git-client affected?
What is the CVSS score of CVE-2017-1000242?
What CWE is associated with CVE-2017-1000242?
How can I check Maven dependencies for CVE-2017-1000242?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fcxw-hhxq-48wx",
"modified" : "2022-06-02T20:40:00Z",
"published" : "2022-05-17T00:21:58Z",
"aliases" : [ "CVE-2017-1000242" ],
"summary" : "Insecure temporary file usage in Jenkins Git Client Plugin",
"details" : "Jenkins Git Client Plugin 2.4.2 and earlier creates temporary file with insecure permissions resulting in information disclosure",
"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:git-client"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.4.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-1000242"
}, {
"type" : "WEB",
"url" : "https://github.com/jenkinsci/git-client-plugin/commit/75ea3fe05650fc6ca09046a72493e2b3f066fb98"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/jenkinsci/git-client-plugin"
}, {
"type" : "WEB",
"url" : "https://jenkins.io/security/advisory/2017-04-27"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/101940"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2022-06-02T20:40:00Z",
"nvd_published_at" : "2017-11-01T13:29:00Z"
}
}