Description
Jenkins versions 2.56 and earlier as well as 2.46.1 LTS and earlier are vulnerable to an unauthenticated remote code execution. An unauthenticated remote code execution vulnerability allowed attackers to transfer a serialized Java `SignedObject` object to the Jenkins CLI, that would be deserialized using a new `ObjectInputStream`, bypassing the existing blacklist-based protection mechanism. We're fixing this issue by adding `SignedObject` to the blacklist. We're also backporting the new HTTP CLI protocol from Jenkins 2.54 to LTS 2.46.2, and deprecating the remoting-based (i.e. Java serialization) CLI protocol, disabling it by default.
Remediation
References
http://packetstormsecurity.com/files/159266/Jenkins-2.56-CLI-Deserialization-Code-Execution.html
http://www.securityfocus.com/bid/98056
https://jenkins.io/security/advisory/2017-04-26/
https://www.exploit-db.com/exploits/41965/
https://www.oracle.com/security-alerts/cpuapr2022.html
Related Vulnerabilities
CVE-2021-46708 Vulnerability in maven package org.webjars.bower:swagger-ui
CVE-2021-21368 Vulnerability in maven package org.webjars.npm:msgpack5
CVE-2018-11758 Vulnerability in maven package org.apache.cayenne:cayenne-server
CVE-2019-10395 Vulnerability in maven package org.jenkins-ci.plugins:build-environment
CVE-2020-10591 Vulnerability in maven package com.walmartlabs.concord.server:concord-server