Skip to content
OpenAdvisories
High · 8.0 CVE-2022-34170 BIT-jenkins-2022-34170EUVD-2022-5949GHSA-62wf-24c4-8r76

Cross-site Scripting vulnerability in Jenkins

Published Jun 22, 2022 · Updated Aug 3, 2024 · Assigned by jenkins

Description

In Jenkins 2.320 through 2.355 (both inclusive) and LTS 2.332.1 through LTS 2.332.3 (both inclusive) the help icon does not escape the feature name that is part of its tooltip, effectively undoing the fix for SECURITY-1955, resulting in a cross-site scripting (XSS) vulnerability exploitable by attackers with Job/Configure permission.

Affected products

VendorProductAffectedFixed
Jenkins project Jenkins 2.320 – < unspecified, unspecified – ≤ 2.355, LTS 2.332.1 – < unspecified, unspecified – ≤ LTS 2.332.3 unspecified

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
Alpine v3.24 jenkins 2.346.2-r0 —
Alpine v3.23 jenkins 2.346.2-r0 —
Alpine v3.22 jenkins 2.346.2-r0 —
Alpine v3.21 jenkins 2.346.2-r0 —
Alpine v3.20 jenkins 2.346.2-r0 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 jenkins 2.346.2-r0 —
Alpine v3.18 jenkins 2.346.2-r0 —
Alpine v3.17 jenkins 2.346.2-r0 —
Alpine v3.16 jenkins 2.346.2-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.jenkins-ci.main:jenkins-core >= 2.350, < 2.356 2.356 GHSA-62wf-24c4-8r76
Maven org.jenkins-ci.main:jenkins-core >= 2.320, < 2.332.4 2.332.4 GHSA-62wf-24c4-8r76
Maven org.jenkins-ci.main:jenkins-core >= 2.346, < 2.346.1 2.346.1 GHSA-62wf-24c4-8r76

Advisories 1

References