VDB
KO
HIGH 8.8

GHSA-g2xq-2v27-4rh3

Jenkins arbitrary type deserialization from attacker-controlled config.xml allows remote code execution and user impersonation

Quick fix

GHSA-g2xq-2v27-4rh3 — org.jenkins-ci.main:jenkins-core: upgrade to the fixed version with the command below.

# pom.xml: bump <version>2.555.3</version> for org.jenkins-ci.main:jenkins-core

Details

In Jenkins 2.567 and earlier, LTS 2.555.2 and earlier, it is possible for attackers to have Jenkins deserialize arbitrary types defined in Jenkins core or plugins from an attacker-controlled `config.xml` submission in a way that allows them to handle HTTP requests afterwards.

This can be used to impersonate any user and send HTTP requests on their behalf, up to and including use of the Script Console to run arbitrary code, or to read arbitrary files from the Jenkins controller.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven / org.jenkins-ci.main:jenkins-core
Introduced in: 0 Fixed in: 2.555.3
Fix # pom.xml: bump <version>2.555.3</version> for org.jenkins-ci.main:jenkins-core
Maven / org.jenkins-ci.main:jenkins-core
Introduced in: 2.556 Fixed in: 2.568
Fix # pom.xml: bump <version>2.568</version> for org.jenkins-ci.main:jenkins-core

References