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

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). 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
    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

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.