# CVE-2021-21677: RCE vulnerability in Jenkins Code Coverage API Plugin

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.21%, higher than 83% of CVEs (2026-12-01)
- Published: 2021-08-31T13:50:13.000Z
- Modified: 2026-06-17T03:35:58.857Z
- Also known as: GHSA-58pr-hprx-7hg6
- Weaknesses: CWE-502
- Assigned by: jenkins

## 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.

(As written by CVE List.)

## Affected

- Jenkins project Jenkins Code Coverage API Plugin: from unspecified up to 1.4.0
- io.jenkins.plugins:code-coverage-api (Maven): before 1.4.1
- jenkins code_coverage_api: up to 1.4.0

## Every score

- GitHub: 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: 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: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://www.jenkins.io/security/advisory/2021-08-31/#SECURITY-2376> (vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2021/08/31/1> (mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-21677> (advisory)
- <https://github.com/jenkinsci/code-coverage-api-plugin/commit/a5b3c18cff2a0b494c55fa73b05fc935b50530be> (web)
- <https://github.com/jenkinsci/code-coverage-api-plugin> (package)

## Sources

- CVE List: [CVE-2021-21677](https://www.cve.org/CVERecord?id=CVE-2021-21677), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-58pr-hprx-7hg6](https://github.com/advisories/GHSA-58pr-hprx-7hg6), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2021-21677](https://nvd.nist.gov/vuln/detail/CVE-2021-21677), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-21677 · Whole record: https://cve.day/CVE-2021-21677.json · Rebuilt by cve.day 2026-11-25T22:58:03.572Z
