cve.bz

CVE-2021-20220 HTTP Request Smuggling

4.8 mediumEPSS 1.2%Fix available

Medium (4.8). EPSS 1.2% estimated probability of exploitation activity in the next 30 days. Fixed in io.undertow:undertow-core 2.0.34, 2.1.6.

On this page
A flaw was found in Undertow. A regression in the fix for CVE-2020-10687 was found. HTTP request smuggling related to CVE-2017-2666 is possible against HTTP/1.x and HTTP/2 due to permitting invalid characters in an HTTP request. This flaw allows an attacker to poison a web-cache, perform an XSS attack, or obtain sensitive information from request other than their own. The highest threat from this vulnerability is to data confidentiality and integrity.

Severity

CVSS 3.1

4.8 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS
1.2% (unchanged from 1.2% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 69th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-444 Inconsistent Interpretation of HTTP Requests (HTTP Request Smuggling)
OWASP Top 10
A06:2025 Insecure Design
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-20220 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-20220?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-20220?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-20220 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 NVD's CPE matches.

ProductAffected
redhat:undertowbefore 2.0.34
redhat:undertowfrom 2.1.0 before 2.1.6

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-qjwc-v72v-fq6rMavenio.undertow:undertow-core>=2.1.0 <2.1.62.1.6
GHSA-qjwc-v72v-fq6rMavenio.undertow:undertow-core<2.0.342.0.34

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian14undertow2.2.0-1DEBIAN-CVE-2021-20220
Ubuntu25.10, 26.04:LTS, 26.10 and 5 moreundertowno fix listedUBUNTU-CVE-2021-20220
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-activemq-artemis, eap7-activemq-artemis-ra, eap7-activemq-artemis-cli and 13 more0:2.9.0-9.redhat_00019.1.el6eapRHSA-2021:0872
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-bouncycastle, eap7-bouncycastle-mail, eap7-bouncycastle-pkix and 1 more0:1.68.0-1.redhat_00001.1.el6eapRHSA-2021:0872
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-guava, eap7-guava-libraries0:30.1.0-1.redhat_00001.1.el6eapRHSA-2021:0872
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-guava-failureaccess0:1.0.1-1.redhat_00002.1.el6eapRHSA-2021:0872
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-hal-console0:3.2.13-1.Final_redhat_00001.1.el6eapRHSA-2021:0872
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-ironjacamar, eap7-ironjacamar-jdbc, eap7-ironjacamar-core-api and 6 more0:1.4.27-1.Final_redhat_00001.1.el6eapRHSA-2021:0872
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-jboss-ejb-client0:4.0.39-1.SP1_redhat_00001.1.el6eapRHSA-2021:0872
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-jboss-logmanager0:2.1.18-1.Final_redhat_00001.1.el6eapRHSA-2021:0872
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-jboss-remoting0:5.0.20-2.SP1_redhat_00001.1.el6eapRHSA-2021:0872
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-jboss-server-migration, eap7-jboss-server-migration-cli, eap7-jboss-server-migration-core and 19 more0:1.7.2-5.Final_redhat_00006.1.el6eapRHSA-2021:0872
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-narayana, eap7-narayana-jbossxts, eap7-narayana-jts-idlj and 8 more0:5.9.11-1.Final_redhat_00001.1.el6eapRHSA-2021:0872
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-undertow0:2.0.34-1.SP1_redhat_00001.1.el6eapRHSA-2021:0872
36 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat EAP-XP 2.0.0 via EAP 7.3.x basewildfly-undertowFixed 2021-07-15RHSA-2021:2755
Red Hat EAP-XP via EAP 7.3.x basewildfly-undertowFixed 2021-06-02RHSA-2021:2210
Red Hat JBoss Enterprise Application Platform 7wildfly-undertowFixed 2021-03-16RHSA-2021:0885
Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 6eap7-activemq-artemis-0:2.9.0-9.redhat_00019.1.el6eapFixed 2021-03-16RHSA-2021:0872
Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 6eap7-bouncycastle-0:1.68.0-1.redhat_00001.1.el6eapFixed 2021-03-16RHSA-2021:0872
Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 6eap7-guava-failureaccess-0:1.0.1-1.redhat_00002.1.el6eapFixed 2021-03-16RHSA-2021:0872
Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 6eap7-guava-libraries-0:30.1.0-1.redhat_00001.1.el6eapFixed 2021-03-16RHSA-2021:0872
Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 6eap7-hal-console-0:3.2.13-1.Final_redhat_00001.1.el6eapFixed 2021-03-16RHSA-2021:0872
Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 6eap7-ironjacamar-0:1.4.27-1.Final_redhat_00001.1.el6eapFixed 2021-03-16RHSA-2021:0872
Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 6eap7-jboss-ejb-client-0:4.0.39-1.SP1_redhat_00001.1.el6eapFixed 2021-03-16RHSA-2021:0872
Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 6eap7-jboss-logmanager-0:2.1.18-1.Final_redhat_00001.1.el6eapFixed 2021-03-16RHSA-2021:0872
Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 6eap7-jboss-remoting-0:5.0.20-2.SP1_redhat_00001.1.el6eapFixed 2021-03-16RHSA-2021:0872
Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 6eap7-jboss-server-migration-0:1.7.2-5.Final_redhat_00006.1.el6eapFixed 2021-03-16RHSA-2021:0872
Red Hat Decision Manager 7undertowNot affected
Red Hat Fuse 7undertowNot affected
Red Hat JBoss Data Grid 7wildfly-undertowOut of support scope
Red Hat JBoss Enterprise Application Platform Expansion Packwildfly-undertowAffected
Red Hat JBoss Fuse 6undertowOut of support scope
Red Hat OpenShift Application Runtimeswildfly-undertowAffected
Red Hat Process Automation 7wildfly-undertowNot affected
39 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-20220.

Attack patterns (CAPEC)

  • CAPEC-33 HTTP Request Smuggling Likelihood: Medium · Severity: High
  • CAPEC-273 HTTP Response Smuggling Likelihood: Medium · Severity: High

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

References

Check your stackJSON