CVE-2022-41723 — x/net
HIGHCVE-2022-41723 is a high-severity (CVSS 7.5) vulnerability in golang.org/x/net. A fix is available for golang.org/x/net — see the affected versions and patch details below.
Denial of service via crafted HTTP/2 stream in net/http and golang.org/x/net
Exploitation Status
No confirmed exploitation observed yet
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2022-41723.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
golang.org/x/netReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
A maliciously crafted HTTP/2 stream could cause excessive CPU consumption in the HPACK decoder, sufficient to cause a denial of service from a small number of small requests.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | golang.org/x/net | all versions | 0.7.0go get golang.org/x/net@v0.7.0 |
Affected Products
gogolanghpackgolanghttp2golangDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for golang.org/x/net, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update golang.org/x/net to 0.7.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-41723 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
Within OpenShift Container Platform, the maximum impact of this vulnerability is a denial of service against an individual container so the impact could not cascade across the entire infrastructure, this vulnerability is rated Moderate impact.
| Product | Fixed in | Advisory |
|---|---|---|
| CERT-MANAGER-1.10-RHEL-9 | cert-manager-operator-bundle-container-v1.10.3-4 | RHSA-2023:4335 |
| Cryostat 2 on RHEL 8 | cryostat-tech-preview/cryostat-grafana-dashboard-rhel8:2.3.0-5 | RHSA-2023:3167 |
| Migration Toolkit for Virtualization 2.4 | migration-toolkit-virtualization/mtv-must-gather-api-rhel8:2.4.3-5 | RHBA-2023:6109 |
| Migration Toolkit for Virtualization 2.5 | migration-toolkit-virtualization/mtv-controller-rhel9:2.5.2-5 | RHBA-2023:6078 |
| MTA-6.2-RHEL-9 | mta/mta-hub-rhel9:6.2.0-16 | RHSA-2023:4627 |
| OADP-1.1-RHEL-8 | oadp/oadp-rhel8-operator:1.1.5-3 | RHSA-2023:3918 |
| OADP-1.1-RHEL-8 | oadp/oadp-kubevirt-velero-plugin-rhel8:1.1.6-5 | RHSA-2023:5314 |
| OCP-Tools-4.12-RHEL-8 | ocp-tools-4/jenkins-rhel8:v4.12.0-1686650770 | RHBA-2023:3611 |
Frequently Asked Questions
Is CVE-2022-41723 in your dependencies?
Find it across Go, including transitive dependencies.