Vulnerabilities in pkg:maven/net.arangamani.jenkins/gem-publisher

PACKAGE
Advisory Identifier: GHSA-6pqm-pp65-mc26
Advisory Summary

CVE-2019-10426 is a MODERATE (CVSS 5.5) jenkins gem publisher plugin stores vulnerability (CWE-522: Insufficiently Protected Credentials) affecting Gem publisher libraries in the Maven ecosystem. The issue involves jenkins gem publisher plugin stores credentials as plaintext. Remediation is available in the latest vendor maintenance releases.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/net.arangamani.jenkins/gem-publisher

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/net.arangamani.jenkins/gem-publisher. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-6pqm-pp65-mc26 CVE-2019-10426 MODERATE Jenkins Gem Publisher Plugin stores credentials as plaintext

CVE-2019-10426 at a Glance

CVE Identifier CVE-2019-10426
GHSA Identifier GHSA-6pqm-pp65-mc26
Severity MODERATE
CVSS v3.1 Base Score 5.5
CWE Classification CWE-522: Insufficiently Protected Credentials
Affected Product Gem publisher
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Local (AV:L)
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-2019-10426

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

net.arangamani.jenkins:gem-publisher fixed: Latest secure release
<dependency>
    <groupId>net.arangamani.jenkins</groupId>
    <artifactId>gem-publisher</artifactId>
    <version>Latest secure release</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=net.arangamani.jenkins

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2019-10426, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=net.arangamani.jenkins

Analyze the terminal output to locate any version of Gem publisher in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The mvn dependency:tree -Dincludes=net.arangamani.jenkins 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 Gem publisher, 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

Jenkins Gem Publisher Plugin stores credentials unencrypted in its global configuration file on the Jenkins master where they can be viewed by users with access to the master file system.

CVE-2019-10426 Affected Gem publisher Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
net.arangamani.jenkins:gem-publisher
Maven
≤ 1.0

References

Frequently Asked Questions

What is CVE-2019-10426?
CVE-2019-10426 is a security vulnerability in Gem publisher involving Jenkins Gem Publisher Plugin stores credentials as plaintext under CWE-522: Insufficiently Protected Credentials.
Which Gem publisher versions are affected?
Affected versions include releases prior to current release patches across affected packages: net.arangamani.jenkins:gem-publisher.
What version fixes CVE-2019-10426?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is gem-publisher affected?
Yes, net.arangamani.jenkins:gem-publisher is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2019-10426?
CVE-2019-10426 has a CVSS v3.1 base score of 5.5 (MODERATE) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2019-10426?
CVE-2019-10426 is classified under CWE-522: Insufficiently Protected Credentials (The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval.).
How can I check Maven dependencies for CVE-2019-10426?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=net.arangamani.jenkins'. 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-6pqm-pp65-mc26",
  "modified" : "2023-07-05T19:58:04Z",
  "published" : "2022-05-24T22:00:44Z",
  "aliases" : [ "CVE-2019-10426" ],
  "summary" : "Jenkins Gem Publisher Plugin stores credentials as plaintext",
  "details" : "Jenkins Gem Publisher Plugin stores credentials unencrypted in its global configuration file on the Jenkins master where they can be viewed by users with access to the master file system.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "net.arangamani.jenkins:gem-publisher"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "1.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-10426"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/jenkinsci/gem-publisher-plugin"
  }, {
    "type" : "WEB",
    "url" : "https://jenkins.io/security/advisory/2019-09-25/#SECURITY-1573"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2019/09/25/3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-256", "CWE-522" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-06-09T23:07:59Z",
    "nvd_published_at" : "2019-09-25T16:15:00Z"
  }
}