GHSA-qcj2-99cg-mppf
Jenkins Git Parameter Plugin vulnerable to code injection due to inexhaustive parameter check
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.jenkins-ci.tools:git-parameter | < 444.vca | 444.vca |
Details
As written in the advisory (Markdown source, shown as plain text).
Jenkins Git Parameter Plugin implements a choice build parameter that lists the configured Git SCM’s branches, tags, pull requests, and revisions.
Git Parameter Plugin 439.vb_0e46ca_14534 and earlier does not validate that the Git parameter value submitted to the build matches one of the offered choices.
This allows attackers with Item/Build permission to inject arbitrary values into Git parameters.
Git Parameter Plugin 444.vca_b_84d3703c2 validates that the Git parameter value submitted to the build matches one of the offered choices.
References
External links from the advisory. They lead to third-party sites.