Vulnerabilities in pkg:maven/hudson.plugins/project-inheritance

PACKAGE
Advisory Identifier: GHSA-xj4w-r6gr-x5qm
Advisory Summary

CVE-2019-10407 is a MODERATE (CVSS 6.5) project inheritance plugin showed secret vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Project inheritance libraries in the Maven ecosystem. The issue involves project inheritance plugin showed secret environment variables defined in mask passwords plugin. Remediation is available by upgrading affected packages to version 19.08.02.

6 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/hudson.plugins/project-inheritance

6 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/hudson.plugins/project-inheritance. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-xj4w-r6gr-x5qm CVE-2019-10407 MODERATE Project Inheritance Plugin showed secret environment variables defined in Mask Passwords Plugin
GHSA-gpmw-h4wq-4rch CVE-2019-10409 MODERATE Missing permission check in Jenkins Project Inheritance Plugin
GHSA-hj32-9mcw-5cwh CVE-2020-2197 MODERATE Missing permission check in Jenkins Project Inheritance Plugin
GHSA-xc7q-p3f4-q389 CVE-2019-10408 MODERATE Jenkins Project Inheritance Plugin vulnerable to Cross-Site Request Forgery
GHSA-w53q-r5cw-6vjh CVE-2020-2198 MODERATE Missing permission check in Jenkins Project Inheritance Plugin
GHSA-3hx4-285w-v6mm CVE-2022-34787 HIGH Jenkins Project Inheritance Plugin vulnerable to cross site scripting

CVE-2019-10407 at a Glance

CVE Identifier CVE-2019-10407
GHSA Identifier GHSA-xj4w-r6gr-x5qm
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Project inheritance
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.1/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-2019-10407

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

hudson.plugins:project-inheritance fixed: 19.08.02
<dependency>
    <groupId>hudson.plugins</groupId>
    <artifactId>project-inheritance</artifactId>
    <version>19.08.02</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=hudson.plugins

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=hudson.plugins

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

Note: The mvn dependency:tree -Dincludes=hudson.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 Project inheritance, 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 Project Inheritance Plugin 19.08.02 and earlier displayed a list of environment variables passed to a build without masking sensitive variables contributed by the Mask Passwords Plugin.

CVE-2019-10407 Affected Project inheritance Versions

1 component(s)
Fixed Versions:
19.08.02
Product / Package Ecosystem Affected Versions Fixed Version
hudson.plugins:project-inheritance
Maven
< 19.08.02
19.08.02

References

Frequently Asked Questions

What is CVE-2019-10407?
CVE-2019-10407 is a security vulnerability in Project inheritance involving Project Inheritance Plugin showed secret environment variables defined in Mask Passwords Plugin under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Project inheritance versions are affected?
Affected versions include releases prior to 19.08.02 across affected packages: hudson.plugins:project-inheritance.
What version fixes CVE-2019-10407?
Upgrading to 19.08.02 (or the latest patched release for your respective branch) resolves the vulnerability.
Is project-inheritance affected?
Yes, hudson.plugins:project-inheritance is affected in releases prior to 19.08.02. Upgrade your dependency to 19.08.02 or later.
What is the CVSS score of CVE-2019-10407?
CVE-2019-10407 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2019-10407?
CVE-2019-10407 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check Maven dependencies for CVE-2019-10407?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=hudson.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-xj4w-r6gr-x5qm",
  "modified" : "2024-01-30T21:19:03Z",
  "published" : "2022-05-24T22:00:44Z",
  "aliases" : [ "CVE-2019-10407" ],
  "summary" : "Project Inheritance Plugin showed secret environment variables defined in Mask Passwords Plugin ",
  "details" : "Jenkins Project Inheritance Plugin 19.08.02 and earlier displayed a list of environment variables passed to a build without masking sensitive variables contributed by the Mask Passwords Plugin.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "hudson.plugins:project-inheritance"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "19.08.02"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 19.08.01"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-10407"
  }, {
    "type" : "WEB",
    "url" : "https://jenkins.io/security/advisory/2019-09-25/#SECURITY-351"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2019/09/25/3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-01-30T21:19:03Z",
    "nvd_published_at" : "2019-09-25T16:15:00Z"
  }
}