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

Source: https://junglewise.ai/threats/cve-2021-21677-rce-vulnerability-in-jenkins-code-coverage-api-plugin  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-24  
License: CC BY 4.0 with a link back

CVE-2021-21677 · Severity: low · CVSS 3.1 · Published 2022-05-24

RCE vulnerability in Jenkins Code Coverage API Plugin

Technologies: [io.jenkins.plugins:code-coverage-api (Maven)](https://junglewise.ai/threats/technologies/io-jenkins-plugins-code-coverage-api). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2021-21677 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-21677 being exploited in the wild.

**How severe is CVE-2021-21677?** Low severity, with a CVSS score of 3.1, published 24 May 2022.

**Which products and versions are affected?** io.jenkins.plugins:code-coverage-api (Maven) ECOSYSTEM:introduced=0,fixed=1.4.1.

**Is there a fix for CVE-2021-21677?** Yes. io.jenkins.plugins:code-coverage-api (Maven): upgrade to 1.4.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-21677?** Check whether you run io.jenkins.plugins:code-coverage-api (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- io.jenkins.plugins:code-coverage-api (Maven): upgrade to 1.4.1 or later

  ```sh
  # set io.jenkins.plugins:code-coverage-api to 1.4.1 in your pom.xml or build.gradle
  ```


## Affected products

- io.jenkins.plugins:code-coverage-api (Maven) ECOSYSTEM:introduced=0,fixed=1.4.1

## Identifiers

- CVE-2021-21677
- GHSA-58pr-hprx-7hg6

## Related threats

- [XXE vulnerability in Jenkins Code Coverage API Plugin](https://junglewise.ai/threats/cve-2020-2172-xxe-vulnerability-in-jenkins-code-coverage-api-plugin)
- [Stored XSS vulnerability in Code Coverage API Plugin](https://junglewise.ai/threats/cve-2020-2106-stored-xss-vulnerability-in-code-coverage-api-plugin)
