Cross-site Scripting (XSS) Affecting jenkins package, versions <0:2.387.1.1680701869-1.el8


Severity

Recommended
critical

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.2% (59th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL8-JENKINS-5421558
  • published26 Mar 2023
  • disclosed10 Mar 2023

Introduced: 10 Mar 2023

CVE-2023-27898  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade RHEL:8 jenkins to version 0:2.387.1.1680701869-1.el8 or higher.
This issue was patched in RHSA-2023:1655.

NVD Description

Note: Versions mentioned in the description apply only to the upstream jenkins package and not the jenkins package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

Jenkins 2.270 through 2.393 (both inclusive), LTS 2.277.1 through 2.375.3 (both inclusive) does not escape the Jenkins version a plugin depends on when rendering the error message stating its incompatibility with the current version of Jenkins, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to provide plugins to the configured update sites and have this message shown by Jenkins instances.

CVSS Scores

version 3.1