# GO-2021-0141 - A Go HTTP server which reads from the request body while simultaneously writing a response can panic…

Source: https://junglewise.ai/threats/go-2021-0141-a-go-http-server-which-reads-from-the-request-body-while-5e2babd1  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-01-04  
License: CC BY 4.0 with a link back

Severity: info · Published 2022-01-04

A Go HTTP server which reads from the request body while
simultaneously writing a response can panic when clients
send a "Expect: 100-continue" header.

Technologies: [net/http (Go)](https://junglewise.ai/threats/technologies/net-http). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Informational severity, published 4 January 2022.

**Which products and versions are affected?** net/http (Go) SEMVER:introduced=0,fixed=1.13.13,introduced=1.14.0,fixed=1.14.5.

**Is there a fix for This vulnerability?** Yes. net/http (Go): upgrade to 1.14.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run net/http (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- net/http (Go): upgrade to 1.14.5 or later

  ```sh
  go get net/http@v1.14.5
  ```


## Affected products

- net/http (Go) SEMVER:introduced=0,fixed=1.13.13,introduced=1.14.0,fixed=1.14.5

## Related threats

- [Go net/http HTTP/2 server memory exhaustion](https://junglewise.ai/threats/cve-2026-78659-go-2026-6603-http-2-server-memory-exhaustion-due-to-trailer)
- [GO-2024-2687 - HTTP/2 CONTINUATION flood in net/http](https://junglewise.ai/threats/cve-2023-45288-net-http-x-net-http2-close-connections-when-receiving-too-many)
