Bug 2177629 (CVE-2023-27898) - CVE-2023-27898 Jenkins: XSS vulnerability in plugin manager
Summary: CVE-2023-27898 Jenkins: XSS vulnerability in plugin manager
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2023-27898
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2177137
TreeView+ depends on / blocked
 
Reported: 2023-03-13 08:15 UTC by Avinash Hanwate
Modified: 2023-06-19 10:13 UTC (History)
10 users (show)

Fixed In Version: Jenkins 2.394, LTS 2.375.4, LTS 2.387.1
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Jenkins. Affected versions of Jenkins do not escape the Jenkins version that a plugin depends on when rendering the error message stating its incompatibility with the current version of Jenkins in the plugin manager. This issue results 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.
Clone Of:
Environment:
Last Closed: 2023-04-12 17:39:23 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:1655 0 None None None 2023-04-12 11:59:04 UTC
Red Hat Product Errata RHSA-2023:3663 0 None None None 2023-06-19 10:13:11 UTC

Description Avinash Hanwate 2023-03-13 08:15:39 UTC
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.

https://www.jenkins.io/security/advisory/2023-03-08/#SECURITY-3037

Comment 2 Asmita 2023-03-15 08:36:41 UTC
Do we have any workaround for this ?

If we upgrade the Jenkins to latest version will it fix this issue ?

Comment 3 Avinash Hanwate 2023-03-16 05:53:39 UTC
In reply to comment #2:
> Do we have any workaround for this ?
> 
> If we upgrade the Jenkins to latest version will it fix this issue ?
Hi Asmita,

There is no known workaround as of now. To fix this vulnerability it is recommended to upgrade the versions to Jenkins 2.394, LTS 2.375.4, LTS 2.387.1

Comment 4 errata-xmlrpc 2023-04-12 11:59:02 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.10

Via RHSA-2023:1655 https://access.redhat.com/errata/RHSA-2023:1655

Comment 5 Product Security DevOps Team 2023-04-12 17:39:21 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2023-27898

Comment 6 errata-xmlrpc 2023-06-19 10:13:09 UTC
This issue has been addressed in the following products:

  OpenShift Developer Tools and Services for OCP 4.11

Via RHSA-2023:3663 https://access.redhat.com/errata/RHSA-2023:3663


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