Skip to content
Fencer Vulns
high 7.5

CVE-2022-41721 json

Request smuggling due to improper request handling in golang.org/x/net/http2/h2c

published 2023-01-13 3 y ago modified 2026-08-07 3 mo ago also GHSA-fxg5-wq6x-vr4w , GO-2023-1495 , EUVD-2023-0462

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.8%
EPSS 1.8% chance of exploitation in 30 days, percentile 78%
public exploits
0
none known

Summary

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.

Patch / fix

  • go golang.org/x/net 0.1.1-0.20221104162952-702349b0e862
  • golang.org/x/net golang.org/x/net/http2/h2c 0.1.1-0.20221104162952-702349b0e862
  • golang-golang-x-net Debian 14, Debian 13, Debian 12 1:0.4.0+dfsg-1

debian advisories DEBIAN-CVE-2022-41721

  • caddy openSUSE Tumbleweed 2.6.3-1.1

opensuse advisories openSUSE-SU-2024:12666-1

  • opa CBL-Mariner 2.0 0.50.2-5

azure linux advisories AZL-13029

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-41721 updated cvss 7.5

x/net/http2/h2c: request smuggling

  • Red Hat OpenShift Serverless cli, knative-serving knative-serving, knative-eventing knative-eventing Red Hat OpenShift Service Mesh 2 openshift-service-mesh/istio-cni-rhel8
    affected: no fix available
  • Red Hat OpenShift Service Mesh 2.1 servicemesh, servicemesh-cni, servicemesh-pilot-agent, servicemesh-pilot-discovery
    affected: no fix planned “Will not fix”
  • Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/thanos-rhel7, rhacm2/kube-rbac-proxy-rhel8
    affected: no fix available
  • Red Hat Advanced Cluster Security 3 advanced-cluster-security/rhacs-main-rhel8 Red Hat Enterprise Linux 8 osbuild-composer, osbuild-composer-core, osbuild-composer-worker, osbuild-composer-dnf-json Red Hat Enterprise Linux 9 osbuild-composer, osbuild-composer-core, osbuild-composer-worker, osbuild-composer-dnf-json Red Hat OpenShift Container Platform 4 openshift4/ose-kube-rbac-proxy-rhel9
    affected: no fix planned “Will not fix”
  • Red Hat OpenShift Dev Spaces devspaces/traefik-rhel8
    affected: no fix available
  • Red Hat MTA 6.2 for RHEL 8 mta/mta-hub-rhel9 6.2.0-16
    fixed: vendor fix RHSA-2023:4627
  • Red Hat OpenShift Container Platform 4.13 openshift4/ose-thanos-rhel8 v4.13.0-202304190216.p0.gb6f11a5.assembly.stream
    fixed: vendor fix RHSA-2023:1326
  • Red Hat MTA 6.2 for RHEL 8 mta/mta-ui-rhel9 6.2.0-17, mta/mta-rhel8-operator 6.2.0-12, mta/mta-operator-bundle 6.2.0-29, mta/mta-pathfinder-rhel9 6.2.0-5, mta/mta-windup-addon-rhel9 6.2.0-11 Red Hat OpenShift Pipelines openshift-pipelines-client Red Hat Advanced Cluster Security 3 advanced-cluster-security/rhacs-scanner-rhel8 Red Hat OpenShift Container Platform 4.13 openshift4/ose-cli v4.13.0-202304190216.p0.g92b1a3d.assembly.stream, openshift4/ose-pod v4.13.0-202304211155.p0.gb404935.assembly.stream, openshift4/ose-etcd v4.13.0-202304190216.p0.gf70da9d.assembly.stream, openshift4/ose-tests v4.13.0-202305031828.p0.g893ae57.assembly.stream, openshift4/ose-console v4.13.0-202305031828.p0.ga551d28.assembly.stream, openshift4/ose-coredns v4.13.0-202304190216.p0.g5560e4a.assembly.stream, +174 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
partial
Assessed
19 mo ago

Exploit prediction

1.82% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • go.dev https://go.dev/issue/56352 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CISA ADP 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
go golang.org/x/net
>=0.0.0-20220524220425-1d687d428aca, <0.1.1-0.20221104162952-702349b0e862
0.1.1-0.20221104162952-702349b0e862

Affected products

  • golang.org/x/net golang.org/x/net/http2/h2c

Classification

Weakness
  • CWE-444 Inconsistent Interpretation of HTTP Requests

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.