CVE-2023-39326
Go vulnerability analysis and mitigation

Overview

CVE-2023-39326 is a vulnerability in the Go programming language's net/http package discovered in 2023. The vulnerability affects Go versions before 1.20.12 and from 1.21.0-0 before 1.21.5. This security flaw allows a malicious HTTP sender to exploit chunk extensions, a little-used HTTP feature that permits including additional metadata in request or response bodies using chunked encoding (Go Advisory, NVD).

Technical details

The vulnerability exists in the net/http chunked encoding reader which discards chunk extension metadata. An attacker can exploit this by inserting large metadata segments with each byte transferred, causing the receiver to read many more bytes from the network than are actually present in the body. The CVSS v3.1 base score is 5.3 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N, indicating network attack vector, low attack complexity, and no required privileges or user interaction (NVD).

Impact

When exploited, this vulnerability can cause a server to automatically read a large amount of data (up to about 1GiB) when a handler fails to read the entire body of a request. This can lead to excessive resource consumption and potential denial of service conditions (Go Advisory).

Exploitability

The vulnerability can be exploited by sending specially crafted HTTP requests that utilize chunk extensions to cause excessive data reading. The attack requires no special privileges or user interaction, making it relatively straightforward to exploit (NVD).

Mitigation and workarounds

The vulnerability has been fixed in Go versions 1.20.12 and 1.21.5. The fix implements an error response if the ratio of real body to encoded bytes grows too small. Users are advised to upgrade to these patched versions or later releases (Go Advisory).

Additional resources


SourceThis report was generated using AI

Related Go vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2023-54365HIGH8.7
  • Go logoGo
  • kubeflow-katib
NoYesJun 23, 2026
CVE-2026-39822HIGH7.8
  • Go logoGo
  • podman-debuginfo
NoYesJul 08, 2026
CVE-2026-42504HIGH7.5
  • Go logoGo
  • loki-3.7
NoYesJun 02, 2026
CVE-2026-42505MEDIUM5.3
  • Go logoGo
  • rclone
NoYesJul 08, 2026
CVE-2026-42507MEDIUM5.3
  • Go logoGo
  • kubernetes-dashboard-metrics-scraper
NoYesJun 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management