Security mailing lists by PureSourceCode

CVE-2022-41721

HIGH 7.5CVSS 3.1

golang.org/x/net/http2/h2c vulnerable to request smuggling attack

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.

Published
13 Jan 2023
Last modified
7 Aug 2026
Assigned by
security@golang.org
NVD status
Modified
Weakness
CWE-444
Also known as
GHSA-fxg5-wq6x-vr4wGO-2023-1495
Sources
NVDJSONOSV GHSA-fxg5-wq6x-vr4wJSONOSV GO-2023-1495JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD golang h2c
cpe:2.3:a:golang:h2c:*:*:*:*:*:go:*:*
< 2022-11-04 2022-11-04
OSV Go golang.org/x/net >= 0.0.0-20220524220425-1d687d428aca, < 0.1.1-0.20221104162952-702349b0e862 0.1.1-0.20221104162952-702349b0e862

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 13 Jan 2023)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 13 Jan 2023)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 14 Jan 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.