CVE-2021-21642
Java vulnerability analysis and mitigation

Overview

CVE-2021-21642 (SECURITY-2204) is a vulnerability discovered in Jenkins Config File Provider Plugin versions 3.7.0 and earlier. The vulnerability stems from the plugin's failure to configure its XML parser to prevent XML external entity (XXE) attacks. This security issue was disclosed on April 21, 2021, affecting the Config File Provider Plugin, a component of the Jenkins automation server (Jenkins Advisory).

Technical details

The vulnerability is classified as High severity according to CVSS scoring. The core issue lies in the XML parser configuration of the Config File Provider Plugin, which does not properly prevent XML external entity (XXE) attacks in versions 3.7.0 and earlier. The vulnerability specifically affects the plugin's handling of Maven configuration files (Jenkins Advisory).

Impact

The vulnerability allows attackers with the ability to define Maven configuration files to have Jenkins parse a crafted configuration file that uses external entities. This can lead to extraction of secrets from the Jenkins controller or enable server-side request forgery attacks (Jenkins Advisory, OSS Security).

Mitigation and workarounds

The vulnerability was fixed in Config File Provider Plugin version 3.7.1, which disables external entity resolution for its XML parser. Users are strongly advised to upgrade to this version or later to mitigate the vulnerability (Jenkins Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14306CRITICAL10
  • JavaJava
  • net.sf.robocode:robocode.core
NoYesDec 09, 2025
CVE-2025-14307CRITICAL9.3
  • JavaJava
  • net.sf.robocode:robocode.battle
NoYesDec 09, 2025
CVE-2025-66566HIGH8.2
  • JavaJava
  • at.yawk.lz4:lz4-java
NoYesDec 05, 2025
CVE-2025-66623HIGH7.4
  • JavaJava
  • io.strimzi:strimzi
NoYesDec 05, 2025
GHSA-93fv-4pm9-xp28MEDIUM6.9
  • JavaJava
  • net.dv8tion:jda
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management