CVE-2023-39326 Affecting oras package, versions <1.1.0-r4


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.06% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-ORAS-6252416
  • published18 Feb 2024
  • disclosed6 Dec 2023

Introduced: 6 Dec 2023

CVE-2023-39326  (opens in a new tab)

How to fix?

Upgrade Chainguard oras to version 1.1.0-r4 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream oras package and not the oras package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

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.

CVSS Scores

version 3.1