CVE-2022-34170: 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...
Medium CVSS 5.4
- CVE id
- CVE-2022-34170
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Jenkins Runtimes and servers |
>= 2.320, <= 2.355 | after 2.355 |
| Jenkins LTS Runtimes and servers |
>= 2.332.1, <= 2.332.3 | after 2.332.3 |
How to fix it
Jenkins (Runtimes and servers)
Upgrade Jenkins to a release newer than 2.355.
curl -sI $JENKINS_URL | grep X-Jenkins
- Upgrade Jenkins to the patched weekly release (the jenkins/jenkins image tag or your packages) and restart it.
Jenkins LTS (Runtimes and servers)
Upgrade Jenkins LTS to a release newer than 2.332.3.
curl -sI $JENKINS_URL | grep X-Jenkins
- Upgrade Jenkins to the patched LTS release (the jenkins/jenkins:lts image tag or your packages) and restart it.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.