cve.bz

CVE-2021-21642 jenkins config file provider

8.1 highEPSS 38%Fix available

High (8.1) in jenkins config file provider. EPSS 38% estimated probability of exploitation activity in the next 30 days. Fixed in org.jenkins-ci.plugins:config-file-provider 3.7.1.

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

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
EPSS
38% (unchanged from 38% a week ago; 38% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-611 Improper Restriction of XML External Entity Reference
OWASP Top 10
A02:2025 Security Misconfiguration
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-21642 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-21642?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-21642?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-21642 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Jenkins project Jenkins Config File Provider Pluginthrough 3.7.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-q7xg-hh3q-hc68Mavenorg.jenkins-ci.plugins:config-file-provider<3.7.13.7.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatopenshift:3.11::el7jenkins0:2.289.1.1624365627-1.el7RHSA-2021:2517
Red Hatopenshift:3.11::el7jenkins-2-plugins0:3.11.1624366838-1.el7RHSA-2021:2517
Red Hatopenshift:4.5::el7jenkins0:2.277.3.1623846768-1.el7RHSA-2021:2431
Red Hatopenshift:4.5::el7jenkins-2-plugins0:4.5.1623326336-1.el7RHSA-2021:2431
Red Hatopenshift:4.6::el8jenkins-2-plugins0:4.6.1623162648-1.el8RHBA-2021:2407
Red Hatopenshift:4.7::el7cri-o, cri-o-debuginfo0:1.20.2-12.rhaos4.7.git9f7be76.el7RHSA-2021:2122
Red Hatopenshift:4.7::el7cri-tools, cri-tools-debuginfo0:1.20.0-3.el7RHSA-2021:2122
Red Hatopenshift:4.7::el8cri-o, cri-o-debuginfo, cri-o-debugsource0:1.20.2-12.rhaos4.7.git9f7be76.el8RHSA-2021:2122
Red Hatopenshift:4.7::el8jenkins-2-plugins0:4.7.1621361158-1.el8RHSA-2021:2122
Red Hatopenshift:4.7::el8redhat-release-coreos0:47.83-2.el8RHSA-2021:2122
Red Hatopenshift:4.8::el7cri-o, cri-o-debuginfo0:1.21.2-5.rhaos4.8.gitb27d974.el7RHSA-2021:2437
Red Hatopenshift:4.8::el7cri-tools, cri-tools-debuginfo0:1.21.0-2.el7RHSA-2021:2437
59 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat Migration Toolkit for Containers 1.4rhmtc/openshift-migration-controller-rhel8:v1.4.6-4Fixed 2021-07-21RHBA-2021:2854
Red Hat Migration Toolkit for Containers 1.4rhmtc/openshift-migration-log-reader-rhel8:v1.4.6-4Fixed 2021-07-21RHBA-2021:2854
Red Hat Migration Toolkit for Containers 1.4rhmtc/openshift-migration-must-gather-rhel8:v1.4.6-4Fixed 2021-07-21RHBA-2021:2854
Red Hat Migration Toolkit for Containers 1.4rhmtc/openshift-migration-operator-bundle:v1.4.6-5Fixed 2021-07-21RHBA-2021:2854
Red Hat Migration Toolkit for Containers 1.4rhmtc/openshift-migration-registry-rhel8:v1.4.6-4Fixed 2021-07-21RHBA-2021:2854
Red Hat Migration Toolkit for Containers 1.4rhmtc/openshift-migration-rsync-transfer-rhel8:v1.4.6-4Fixed 2021-07-21RHBA-2021:2854
Red Hat Migration Toolkit for Containers 1.4rhmtc/openshift-migration-ui-rhel8:v1.4.6-4Fixed 2021-07-21RHBA-2021:2854
Red Hat Migration Toolkit for Containers 1.4rhmtc/openshift-migration-velero-plugin-for-aws-rhel8:v1.4.6-4Fixed 2021-07-21RHBA-2021:2854
Red Hat Migration Toolkit for Containers 1.4rhmtc/openshift-migration-velero-plugin-for-gcp-rhel8:v1.4.6-3Fixed 2021-07-21RHBA-2021:2854
Red Hat Migration Toolkit for Containers 1.4rhmtc/openshift-migration-velero-plugin-for-microsoft-azure-rhel8:v1.4.6-4Fixed 2021-07-21RHBA-2021:2854
Red Hat Migration Toolkit for Containers 1.4rhmtc/openshift-migration-velero-restic-restore-helper-rhel8:v1.4.6-5Fixed 2021-07-21RHBA-2021:2854
Red Hat Migration Toolkit for Containers 1.4rhmtc/openshift-migration-velero-rhel8:v1.4.6-5Fixed 2021-07-21RHBA-2021:2854
Red Hat Migration Toolkit for Containers 1.4rhmtc/openshift-velero-plugin-rhel8:v1.4.6-4Fixed 2021-07-21RHBA-2021:2854
Red Hat OpenShift Container Platform 3.11jenkins-2-plugins-0:3.11.1624366838-1.el7Fixed 2021-06-30RHSA-2021:2517
Red Hat OpenShift Container Platform 4.5jenkins-2-plugins-0:4.5.1623326336-1.el7Fixed 2021-07-02RHSA-2021:2431
Red Hat OpenShift Container Platform 4.6jenkins-2-plugins-0:4.6.1623162648-1.el8Fixed 2021-06-22RHBA-2021:2407
Red Hat OpenShift Container Platform 4.7cri-o-0:1.20.2-12.rhaos4.7.git9f7be76.el7Fixed 2021-06-01RHSA-2021:2122
Red Hat OpenShift Container Platform 4.7cri-tools-0:1.20.0-3.el7Fixed 2021-06-01RHSA-2021:2122
Red Hat OpenShift Container Platform 4.7jenkins-2-plugins-0:4.7.1621361158-1.el8Fixed 2021-06-01RHSA-2021:2122
Red Hat OpenShift Container Platform 4.7redhat-release-coreos-0:47.83-2.el8Fixed 2021-06-01RHSA-2021:2122
56 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-21642.

Attack patterns (CAPEC)

  • CAPEC-221 Data Serialization External Entities Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON