Repository navigation
Description
A malicious HTTP sender can use chunk extensions to cause a receiver reading from a request or response body to read many more bytes from the network than are in the body. A malicious HTTP client can further exploit this to 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. Chunk extensions are a little-used HTTP feature which permit including additional metadata in a request or response body sent using the chunked encoding. The net/http chunked encoding reader discards this metadata. A sender can exploit this by inserting a large metadata segment with each byte transferred. The chunk reader now produces an error if the ratio of real body to encoded bytes grows too small.
Affects
net/http/internal
before go1.20.12, from go1.21.0-0 before go1.21.5
We'll need to bump the following
- serving/1.11.x - [release-1.11] Bump to fix #14732 #14734
- serving/1.12.x - [release-1.12] Bump to fix #14732 #14733
- net-kourier/1.11.x - [release-1.11] Bump to fix serving/#14732 knative-extensions/net-kourier#1177
- net-kourier/1.12.x - [release-1.12] Bump to fix serving/#14732 knative-extensions/net-kourier#1176
- net-istio/1.11.x - [release-1.11] Bump to fix serving/#14732 knative-extensions/net-istio#1227
- net-istio/1.12.x - [release-1.12] Bump to fix serving/#14732 knative-extensions/net-istio#1226
- net-contour/1.11.x - [release-1.11] Bump to fix serving/#14732 knative-extensions/net-contour#1014
- net-contour/1.12.x - [release-1.12] Bump to fix serving/#14732 knative-extensions/net-contour#1013
- net-http01/1.11.x - [release-1.11] Bump to fix serving/#14732 knative-extensions/net-http01#576
- net-http01/1.12.x - [release-1.12] Bump to fix serving/#14732 knative-extensions/net-http01#575
- net-certmanager/1.11.x - [release-1.11] Bump to fix serving/#14732 knative-extensions/net-certmanager#642
- net-certmanager/1.12.x - [release-1.12] Bump to fix serving/#14732 knative-extensions/net-certmanager#641
- net-gateway-api/1.11.x - [release-1.11] Bump to fix serving/#14732 knative-extensions/net-gateway-api#597
- net-gateway-api/1.12.x - [release-1.12] Bump to fix serving/#14732 knative-extensions/net-gateway-api#596
Activity
dprotaso commentedon Dec 18, 2023
cc @ReToCode @skonto
/assign @dprotaso
dprotaso commentedon Dec 18, 2023
Go Version was bumped in Prow here: knative/infra#296
dprotaso commentedon Dec 18, 2023
prow image was bumped here - knative/infra#297
So Prow is ready to go.
Bump to fix knative#14732
Bump to fix knative#14732
Bump to fix knative#14732
Bump to fix serving/knative#14732
Bump to fix #14732 (#14733)
[release-1.11] Bump to fix #14732 (#14734)
skonto commentedon Dec 20, 2023
@dprotaso should we close this one?
ReToCode commentedon Dec 20, 2023
+1, as the auto-releases are out.
[RELEASE-1.11] Sync with upstream release-1.11 (#580)