First published: Tue Aug 31 2021(Updated: )
Jenkins Code Coverage API Plugin 1.4.0 and earlier does not apply [JEP-200 deserialization protection](https://github.com/jenkinsci/jep/tree/master/jep/200) to Java objects it deserializes from disk. This results in a remote code execution (RCE) vulnerability exploitable by attackers able to control agent processes. Jenkins Code Coverage API Plugin 1.4.1 configures its Java object deserialization to only deserialize safe types.
Credit: jenkinsci-cert@googlegroups.com jenkinsci-cert@googlegroups.com jenkinsci-cert@googlegroups.com
Affected Software | Affected Version | How to fix |
---|---|---|
maven/io.jenkins.plugins:code-coverage-api | <=1.4.0 | 1.4.1 |
Jenkins Code Coverage API | <=1.4.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-21677 is classified as a critical vulnerability due to its ability to allow remote code execution.
To fix CVE-2021-21677, upgrade the Jenkins Code Coverage API Plugin to version 1.4.1 or later.
CVE-2021-21677 affects users of Jenkins Code Coverage API Plugin version 1.4.0 and earlier.
CVE-2021-21677 presents a remote code execution vulnerability due to improper handling of deserialization.
CVE-2021-21677 can be exploited by attackers who can control the serialized Java objects deserialized by the plugin.