Vulnerabilities in pkg:maven/org.jenkins-ci.plugins/partial-release-manager

PACKAGE
Advisory Identifier: GHSA-phh3-2p9m-w6j5
Advisory Summary

CVE-2024-34148 is a MODERATE (CVSS 6.8) jenkins subversion partial release manager vulnerability (CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')) affecting Partial release manager libraries in the Maven ecosystem. The issue involves jenkins subversion partial release manager plugin programmatically disables the fix for cve-2016-3721. Remediation is available in the latest vendor maintenance releases.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.jenkins-ci.plugins/partial-release-manager

1 Known Advisory Record(s)

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

Advisory ID CVE / NVD Severity Summary
GHSA-phh3-2p9m-w6j5 CVE-2024-34148 MODERATE Jenkins Subversion Partial Release Manager Plugin programmatically disables the fix for CVE-2016-3721

CVE-2024-34148 at a Glance

CVE Identifier CVE-2024-34148
GHSA Identifier GHSA-phh3-2p9m-w6j5
Severity MODERATE
CVSS v3.1 Base Score 6.8
CWE Classification CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Affected Product Partial release manager
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 6.8

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

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

How to Fix CVE-2024-34148

To remediate this vulnerability, upgrade all affected Partial release manager 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:partial-release-manager fixed: Latest secure release
<dependency>
    <groupId>org.jenkins-ci.plugins</groupId>
    <artifactId>partial-release-manager</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=org.jenkins-ci.plugins

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2024-34148, 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 Partial release manager 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=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-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution'), where the product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype. In Partial release manager, 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 Subversion Partial Release Manager Plugin 1.0.1 and earlier programmatically sets the Java system property `hudson.model.ParametersAction.keepUndefinedParameters` whenever a build is triggered from a release tag with the 'Svn-Partial Release Manager' SCM. Doing so disables the fix for [SECURITY-170](https://www.jenkins.io/security/advisory/2016-05-11/#arbitrary-build-parameters-are-passed-to-build-scripts-as-environment-variables) / CVE-2016-3721. As of publication of this advisory, there is no fix.

CVE-2024-34148 Affected Partial release manager Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
org.jenkins-ci.plugins:partial-release-manager
Maven
≤ 1.0.1

References

Frequently Asked Questions

What is CVE-2024-34148?
CVE-2024-34148 is a security vulnerability in Partial release manager involving Jenkins Subversion Partial Release Manager Plugin programmatically disables the fix for CVE-2016-3721 under CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution').
Which Partial release manager versions are affected?
Affected versions include releases prior to current release patches across affected packages: org.jenkins-ci.plugins:partial-release-manager.
What version fixes CVE-2024-34148?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is partial-release-manager affected?
Yes, org.jenkins-ci.plugins:partial-release-manager 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-2024-34148?
CVE-2024-34148 has a CVSS v3.1 base score of 6.8 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2024-34148?
CVE-2024-34148 is classified under CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') (The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.).
How can I check Maven dependencies for CVE-2024-34148?
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-phh3-2p9m-w6j5",
  "modified" : "2024-07-03T20:11:11Z",
  "published" : "2024-05-02T15:30:35Z",
  "aliases" : [ "CVE-2024-34148" ],
  "summary" : "Jenkins Subversion Partial Release Manager Plugin programmatically disables the fix for CVE-2016-3721 ",
  "details" : "Jenkins Subversion Partial Release Manager Plugin 1.0.1 and earlier programmatically sets the Java system property `hudson.model.ParametersAction.keepUndefinedParameters` whenever a build is triggered from a release tag with the 'Svn-Partial Release Manager' SCM. Doing so disables the fix for [SECURITY-170](https://www.jenkins.io/security/advisory/2016-05-11/#arbitrary-build-parameters-are-passed-to-build-scripts-as-environment-variables) / CVE-2016-3721.\n\nAs of publication of this advisory, there is no fix.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.jenkins-ci.plugins:partial-release-manager"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "1.0.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-34148"
  }, {
    "type" : "WEB",
    "url" : "https://www.jenkins.io/security/advisory/2024-05-02/#SECURITY-3331"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2024/05/02/3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1321" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-03T19:37:35Z",
    "nvd_published_at" : "2024-05-02T14:15:10Z"
  }
}