Bug 2011949 (CVE-2021-21684) - CVE-2021-21684 jenkins-2-plugins/git: stored XSS vulnerability
Summary: CVE-2021-21684 jenkins-2-plugins/git: stored XSS vulnerability
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2021-21684
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2015085
Blocks: 2011950
TreeView+ depends on / blocked
 
Reported: 2021-10-07 19:18 UTC by Guilherme de Almeida Suckevicz
Modified: 2022-03-10 13:15 UTC (History)
20 users (show)

Fixed In Version: Git Plugin 4.8.3
Doc Type: If docs needed, set a value
Doc Text:
A stored cross-site scripting (XSS) vulnerability was found in the Jenkins Git plugin. Due to not escaping the Git SHA-1 checksum parameters provided to commit notifications, an attacker is able to submit crafted commit notifications to the `/git/notifyCommit` endpoint.
Clone Of:
Environment:
Last Closed: 2021-10-28 09:08:49 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:0055 0 None None None 2022-03-10 13:15:45 UTC

Description Guilherme de Almeida Suckevicz 2021-10-07 19:18:30 UTC
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.

References:
https://www.jenkins.io/security/advisory/2021-10-06/#SECURITY-2499
http://www.openwall.com/lists/oss-security/2021/10/06/1

Comment 3 errata-xmlrpc 2022-03-10 13:15:42 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.10

Via RHSA-2022:0055 https://access.redhat.com/errata/RHSA-2022:0055


Note You need to log in before you can comment on or make changes to this bug.