Vulnerabilities in pkg:maven/org.jenkins-ci.plugins/config-file-provider

PACKAGE
Advisory Identifier: GHSA-6h72-m3xw-fp3c
Advisory Summary

CVE-2017-1000104 is a MODERATE (CVSS 6.5) improper privilege management vulnerability (CWE-269: Improper Privilege Management) affecting Config file provider libraries in the Maven ecosystem. The issue involves improper privilege management in jenkins config file provider plugin. Remediation is available by upgrading affected packages to version 2.16.2.

9 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.jenkins-ci.plugins/config-file-provider

9 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.jenkins-ci.plugins/config-file-provider. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-6h72-m3xw-fp3c CVE-2017-1000104 MODERATE Improper Privilege Management in Jenkins Config File Provider Plugin
GHSA-pmc5-74w3-78mw CVE-2019-1003014 MODERATE Jenkins Config File Provider Plugin XSS vulnerability
GHSA-pv2g-vm98-vjxf CVE-2023-40339 MODERATE Jenkins Config File Provider Plugin improper credential masking vulnerability
GHSA-vwfm-42q6-qj75 CVE-2018-1000413 MODERATE Stored XSS vulnerability in Config File Provider Plugin
GHSA-r5m8-5mwx-cmj8 CVE-2018-1000414 HIGH CSRF vulnerability in Config File Provider Plugin
GHSA-2959-fj73-hm8p CVE-2021-21645 MODERATE Missing permission checks in Jenkins Config File Provider Plugin allow enumerating configuration file IDs
GHSA-998m-f2x3-jjq4 CVE-2021-21644 MODERATE CSRF vulnerability in Jenkins Config File Provider Plugin allows deleting configuration files
GHSA-q7xg-hh3q-hc68 CVE-2021-21642 HIGH XML External Entity Reference vulnerability in Jenkins Config File Provider Plugin
GHSA-3m3f-2323-64m7 CVE-2021-21643 MODERATE Incorrect permission checks in Jenkins Config File Provider Plugin allow enumerating credentials IDs

CVE-2017-1000104 at a Glance

CVE Identifier CVE-2017-1000104
GHSA Identifier GHSA-6h72-m3xw-fp3c
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-269: Improper Privilege Management
Affected Product Config file provider
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 6.5

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:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2017-1000104

To remediate this vulnerability, upgrade all affected Config file provider dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.jenkins-ci.plugins:config-file-provider fixed: 2.16.2
<dependency>
    <groupId>org.jenkins-ci.plugins</groupId>
    <artifactId>config-file-provider</artifactId>
    <version>2.16.2</version>
</dependency>
Verify Direct and Transitive Dependencies

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-1000104, 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 Config file provider in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.16.2), 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-269: Improper Privilege Management, where the product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. In Config file provider, 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

The Config File Provider Plugin is used to centrally manage configuration files that often include secrets, such as passwords. Users with only Overall/Read access to Jenkins were able to access URLs directly that allowed viewing these files. Access to view these files now requires sufficient permissions to configure the provided files, view the configuration of the folder in which the configuration files are defined, or have Job/Configure permissions to a job able to use these files.

CVE-2017-1000104 Affected Config file provider Versions

1 component(s)
Fixed Versions:
2.16.2
Product / Package Ecosystem Affected Versions Fixed Version
org.jenkins-ci.plugins:config-file-provider
Maven
< 2.16.2
2.16.2

References

Frequently Asked Questions

What is CVE-2017-1000104?
CVE-2017-1000104 is a security vulnerability in Config file provider involving Improper Privilege Management in Jenkins Config File Provider Plugin under CWE-269: Improper Privilege Management.
Which Config file provider versions are affected?
Affected versions include releases prior to 2.16.2 across affected packages: org.jenkins-ci.plugins:config-file-provider.
What version fixes CVE-2017-1000104?
Upgrading to 2.16.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is config-file-provider affected?
Yes, org.jenkins-ci.plugins:config-file-provider is affected in releases prior to 2.16.2. Upgrade your dependency to 2.16.2 or later.
What is the CVSS score of CVE-2017-1000104?
CVE-2017-1000104 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2017-1000104?
CVE-2017-1000104 is classified under CWE-269: Improper Privilege Management (The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.).
How can I check Maven dependencies for CVE-2017-1000104?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.jenkins-ci.plugins'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-6h72-m3xw-fp3c",
  "modified" : "2024-01-30T22:44:21Z",
  "published" : "2022-05-13T01:40:56Z",
  "aliases" : [ "CVE-2017-1000104" ],
  "summary" : "Improper Privilege Management in Jenkins Config File Provider Plugin",
  "details" : "The Config File Provider Plugin is used to centrally manage configuration files that often include secrets, such as passwords. Users with only Overall/Read access to Jenkins were able to access URLs directly that allowed viewing these files. Access to view these files now requires sufficient permissions to configure the provided files, view the configuration of the folder in which the configuration files are defined, or have Job/Configure permissions to a job able to use these files.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.jenkins-ci.plugins:config-file-provider"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.16.2"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.16.1"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-1000104"
  }, {
    "type" : "WEB",
    "url" : "https://jenkins.io/security/advisory/2017-08-07"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-269" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-01-30T22:44:21Z",
    "nvd_published_at" : "2017-10-05T01:29:00Z"
  }
}