VDB
Sign up
MEDIUM4.3

GHSA-hwvp-7xqv-8jx3

Jenkins Git Parameter Plugin has a missing permission check that allows listing SCM branch and tag names

Quick fix

GHSA-hwvp-7xqv-8jx3 — org.jenkins-ci.tools:git-parameter: upgrade to the fixed version with the command below.

# pom.xml: bump <version>462.463</version> for org.jenkins-ci.tools:git-parameter

Details

Jenkins Git Parameter Plugin 462.vdcf3df2ed2ca_ and earlier does not perform a permission check in an HTTP endpoint that populates the list of values for Git parameters by querying the SCM configured on a job, using the SCM credentials configured in Jenkins.

This allows attackers with Item/Read permission to obtain information about the SCM repository used by a job they would otherwise be unable to access, such as branch names, tag names, and revision metadata.

Git Parameter Plugin 462.463.v496a_59f698e5 requires Item/Build permission to populate the list of values for Git parameters.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.jenkins-ci.tools:git-parameter
Introduced in: 0Fixed in: 462.463
Fix# pom.xml: bump <version>462.463</version> for org.jenkins-ci.tools:git-parameter

References