CVE-2021-21642: XEE

Published Apr 21, 2021
·
Updated

A flaw was found in the config-file-provider Jenkins plugin. The plugin XML parser wasn't configure to prevent XML external entity (XXE) attacks. An attacker with the ability to define Maven configuration files can use this vulnerability to prepare a crafted configuration file that uses external entities for extraction of secrets from the Jenkins controller or server-side request forgery.

Other sources

Config File Provider Plugin 3.7.0 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks.

This allows attackers with the ability to define Maven configuration files to have Jenkins parse a crafted configuration file that uses external entities for extraction of secrets from the Jenkins controller or server-side request forgery.

Red Hat

Jenkins Config File Provider Plugin 3.7.0 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks.

Affected Software

10 affected componentsFixes available
redhat/jenkins<2-plugins-0:3.11.1624366838-1.el7
2-plugins-0:3.11.1624366838-1.el7
redhat/jenkins<2-plugins-0:4.5.1623326336-1.el7
2-plugins-0:4.5.1623326336-1.el7
redhat/jenkins<2-plugins-0:4.6.1623162648-1.el8
2-plugins-0:4.6.1623162648-1.el8
redhat/cri-o<0:1.20.2-12.rhaos4.7.git9f7be76.el8
0:1.20.2-12.rhaos4.7.git9f7be76.el8
redhat/cri-tools<0:1.20.0-3.el7
0:1.20.0-3.el7
redhat/jenkins<2-plugins-0:4.7.1621361158-1.el8
2-plugins-0:4.7.1621361158-1.el8
redhat/redhat-release-coreos<0:47.83-2.el8
0:47.83-2.el8
Jenkins Config File Provider Jenkins<=3.7.0
maven/org.jenkins-ci.plugins:config-file-provider<=3.7.0
3.7.1
redhat/config-file-provider<3.7.1
3.7.1

Remediation

Information

Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update as soon as possible.

Event History

Apr 21, 2021
CVE Published
12:00 AM
CVE Published
via MITRE·02:20 PM
Data Sourced
via MITRE·02:20 PM
Description
May 24, 2022
Advisory Published
05:48 PM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-21642?

CVE-2021-21642 is a vulnerability in the Jenkins Config File Provider Plugin that allows for XML external entity (XXE) attacks.

2

How severe is CVE-2021-21642?

CVE-2021-21642 has a severity rating of 8.1 (high).

3

Which software versions are affected by CVE-2021-21642?

Jenkins Config File Provider Plugin versions 3.7.0 and earlier are affected by CVE-2021-21642.

4

How can I fix CVE-2021-21642?

To fix CVE-2021-21642, upgrade to version 3.7.1 of the Jenkins Config File Provider Plugin.

5

Where can I find more information about CVE-2021-21642?

More information about CVE-2021-21642 can be found on the Jenkins.io and Red Hat websites.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203