WaratekVRT Sign in

CVE-2021-21677 Jenkins Code Coverage API

Affected softwareJenkins Code Coverage API
Severity8.8 High CVSS 3.1 2 scores
Fixed in1.4.1
WeaknessDeserialization of untrusted data (CWE-502)
Published31 Aug 2021
Updated17 Jun 2026

Description

Jenkins Code Coverage API Plugin 1.4.0 and earlier does not apply Jenkins JEP-200 deserialization protection to Java objects it deserializes from disk, resulting in a remote code execution vulnerability.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 5 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 2.2% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR deserialization security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-502: Deserialization of Untrusted Data.

How to mitigate CVE-2021-21677

Upgrade Jenkins Code Coverage API to 1.4.1 or later. Until you can, Waratek RASP blocks exploitation with its deserialization and process rules. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

8.8 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 8.8 HIGH CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 2.0 6.5 none AV:N/AC:L/Au:S/C:P/I:P/A:P NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
io.jenkins.plugins:code-coverage-api 0 1.4.1 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
osv io.jenkins.plugins code-coverage-api generic < 1.4.1
nvd jenkins code coverage api generic ≤ 1.4.0

References

URLTags
https://github.com/jenkinsci/code-coverage-api-plugin/commit/a5b3c18cff2a0b494c55fa73b05fc935b50530be WEB
https://github.com/jenkinsci/code-coverage-api-plugin PACKAGE
https://www.jenkins.io/security/advisory/2021-08-31/#SECURITY-2376 WEB
http://www.openwall.com/lists/oss-security/2021/08/31/1 WEB

Timeline

Published2021-08-31By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.