CVE-2021-21677 json
RCE vulnerability in Jenkins Code Coverage API Plugin
published 2021-08-31 5 y ago modified 2026-06-17 4 mo ago also GHSA-58pr-hprx-7hg6 , EUVD-2022-2537
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.2%
- EPSS 2.2% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven io.jenkins.plugins:code-coverage-api 1.4.1
Exploit prediction
2.21% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | io.jenkins.plugins:code-coverage-api | <1.4.1 |
1.4.1 |
Affected products
- Jenkins project Jenkins Code Coverage API Plugin
Classification
- Weakness
-
- CWE-502 Deserialization of Untrusted Data
References
-
github.com
/jenkinsci/code-coverage-api-plugin/commit/a5b3c18cff2a0b494c55fa73b05fc935b50530be
web
-
jenkins.io
/security/advisory/2021-08-31/#SECURITY-2376
web, vendor-advisory
-
openwall.com
/lists/oss-security/2021/08/31/1
mailing-list, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-21677
advisory
-
github.com
/jenkinsci/code-coverage-api-plugin
package
Sources
- CVE List CVE-2021-21677
- GitHub Advisory GHSA-58pr-hprx-7hg6
- NVD CVE-2021-21677
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.