Skip to content

Address GO-2023-2382 #14732

Closed
Closed

Description

@dprotaso

From: https://pkg.go.dev/vuln/GO-2023-2382

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

Activity

  1. dprotaso commented on Dec 18, 2023

    @dprotaso
    MemberAuthor
  2. dprotaso commented on Dec 18, 2023

    @dprotaso
    MemberAuthor

    Go Version was bumped in Prow here: knative/infra#296

  3. dprotaso commented on Dec 18, 2023

    @dprotaso
    MemberAuthor

    prow image was bumped here - knative/infra#297

    So Prow is ready to go.

  4. added 4 commits that reference this issue on Dec 18, 2023
    9ffa9d1
    49b2374
    75c014a
    f4f7b92
  5. added 2 commits that reference this issue on Dec 18, 2023
    f1bd929
    232d726
  6. skonto commented on Dec 20, 2023

    @skonto
    Contributor

    @dprotaso should we close this one?

  7. ReToCode commented on Dec 20, 2023

    @ReToCode
    Contributor

    +1, as the auto-releases are out.

  8. added a commit that references this issue on Jan 8, 2024
    9bd87d6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions