Skip to content
OpenAdvisories
Medium · 6.1 CVE-2021-21684 EUVD-2022-3953GHSA-gghc-g8cj-4vfv

Stored XSS vulnerability in Jenkins Git Plugin

Published Oct 6, 2021 · Updated Aug 3, 2024 · Assigned by jenkins

Description

Jenkins Git Plugin 4.8.2 and earlier does not escape the Git SHA-1 checksum parameters provided to commit notifications when displaying them in a build cause, resulting in a stored cross-site scripting (XSS) vulnerability.

Affected products

VendorProductAffectedFixed
Jenkins project Jenkins Git Plugin unspecified – ≤ 4.8.2 4.7.1.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat OpenShift 4 coreos-installer +1 0.12.0-1.rhaos4.10.el8 RHSA-2022:0055
Red Hat OpenShift 4 cri-o 1.23.0-92.rhaos4.10.gitdaab4d1.el7 RHSA-2022:0055
Red Hat OpenShift 4 jenkins 2.319.2.1643288987-1.el8 RHSA-2022:0055
Red Hat OpenShift 4 jenkins-2-plugins 4.10.1643404185-1.el8 RHSA-2022:0055
Red Hat OpenShift 4 openshift +1 4.10.0-202202250816.p0.ge419edf.assembly.stream.el7 RHSA-2022:0055
Red Hat OpenShift 4 openshift-clients +1 4.10.0-202202160023.p0.gf93da17.assembly.stream.el7 RHSA-2022:0055

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 git No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.jenkins-ci.plugins:git < 4.8.3 4.8.3 GHSA-gghc-g8cj-4vfv

Advisories 2

References