All vulnerabilities

Servers and applications

GHSA-537m-jhcr-hxmm

Bucket key holders can crash incusd through oversized aws-chunked chunks

Severity
Medium 6.5
Published
27 Nov 2026
Last changed
27 Nov 2026
Added to UpHeron
27 Nov 2026
Fixed in
7.7.0
Weakness
Uncontrolled resource consumption (CWE-400)CWE-789
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Sources
Project advisories (GitHub)

Description

The built-in S3 server supports the aws-chunked streaming payload encoding, in which the client declares the size of each chunk in a chunk header. The server allocated a buffer of the declared size before reading the chunk, with no upper bound and without checking it against the declared decoded content length of the request.

A holder of a key for any storage bucket on the server, when the storage buckets listener is enabled, can make incusd allocate an arbitrarily large buffer by declaring a large chunk. A single small request declaring a chunk larger than the available memory makes the allocation fail and the daemon exit immediately, without any chunk data being sent. Smaller declared sizes can be filled by streaming data, with the same result over one or several requests. The API is interrupted for every project until the daemon is restarted, and the request can be repeated each time it comes back.

From lxc/incus's security advisory. Shortened; the full text is there.

Workarounds

Disable the storage buckets listener (core.storage_buckets_address).

Workarounds as given by lxc/incus's security advisory.

Affected software

SoftwareAffected versions
IncusServers and applications · github:lxc/incus
  • Every version before 7.7.0

About Incus

container manager for system containers

From Wikidata, CC0 1.0.
GitHub stars
6,771GitHub, 29 Nov 2026
Forks
535GitHub, 29 Nov 2026
Latest release
v7.7.0GitHub, 29 Nov 2026
Released
27 Nov 2026GitHub
Developer
Linux ContainersWikidata
License
Apache License 2.0Wikidata
Written in
GoWikidata
First released
7 Aug 2023Wikidata
First published on GitHub
22 Jul 2023GitHub

References