cve.bz

CVE-2022-41721 golang h2c: HTTP Request Smuggling

7.5 highExploit referenceEPSS 1.9%Fix available

High (7.5) in golang h2c. EPSS 1.9% estimated probability of exploitation activity in the next 30 days. Fixed in golang.org/x/net 0.1.1-0.20221104162952-702349b0e862.

On this page
A request smuggling attack is possible when using MaxBytesHandler. When using MaxBytesHandler, the body of an HTTP request is not fully consumed. When the server attempts to read HTTP2 frames from the connection, it will instead be reading the body of the HTTP request, which could be attacker-manipulated to represent arbitrary HTTP2 requests.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.9% (unchanged from 1.9% a week ago; 1.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 80th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2025-04-04. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
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-2022-41721 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-41721?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-41721?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-2022-41721 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
golang.org/x/net/http2/h2cfrom 0.0.0-20220524220425-1d687d428aca before 0.1.1-0.20221104162952-702349b0e862

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-fxg5-wq6x-vr4wGogolang.org/x/net>=0.0.0-20220524220425-1d687d428aca <0.1.1-0.20221104162952-702349b0e8620.1.1-0.20221104162952-702349b0e862
GO-2023-1495Gogolang.org/x/net>=0.0.0-20220524220425-1d687d428aca <0.1.1-0.20221104162952-702349b0e8620.1.1-0.20221104162952-702349b0e862

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14golang-golang-x-net1:0.4.0+dfsg-1DEBIAN-CVE-2022-41721
openSUSETumbleweedcaddy2.6.3-1.1openSUSE-SU-2024:12666-1
Azure Linux2opa0.50.2-5AZL-13029

From the distributions' data via OSV.dev: the Debian Security Tracker; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This moderate severity flaw was found in golang.org/x/net/http2/h2c when using MaxBytesHandler. If the handler does not fully read the body of an HTTP request, the server may interpret the remaining request body as HTTP/2 frames. An attacker can craft this body to include arbitrary HTTP/2 frames, enabling request smuggling. This can cause denial of service (DoS) by crashing or disrupting the server’s HTTP/2 handling.

ProductPackageStateAdvisory
MTA-6.2-RHEL-9mta/mta-hub-rhel9:6.2.0-16Fixed 2023-08-14RHSA-2023:4627
Red Hat OpenShift Container Platform 4.13openshift4/ose-thanos-rhel8:v4.13.0-202304190216.p0.gb6f11a5.assembly.streamFixed 2023-05-17RHSA-2023:1326
OpenShift Pipelinesopenshift-pipelines-clientNot affected
OpenShift ServerlesscliAffected
OpenShift Serverlessknative-eventingAffected
OpenShift Serverlessknative-servingAffected
OpenShift Service Mesh 2openshift-service-mesh/istio-cni-rhel8Affected
OpenShift Service Mesh 2.1servicemeshWill not fix
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/kube-rbac-proxy-rhel9Affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/thanos-rhel9Affected
Red Hat Advanced Cluster Security 3advanced-cluster-security/rhacs-main-rhel8Will not fix
Red Hat Advanced Cluster Security 3advanced-cluster-security/rhacs-scanner-rhel8Not affected
Red Hat Enterprise Linux 8osbuild-composerWill not fix
Red Hat Enterprise Linux 9osbuild-composerWill not fix
Red Hat OpenShift Container Platform 4openshift4/ose-kube-rbac-proxy-rhel9Will not fix
Red Hat OpenShift Dev Spacesdevspaces/traefik-rhel8Affected

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-2022-41721.

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