Skip to content

incomplete signature validation for unsigned-trailer uploads

High
harshavardhana published GHSA-wg47-6jq2-q2hh Apr 3, 2025

Package

gomod minio (Go)

Affected versions

RELEASE.2023-05-18T00-05-36Z

Patched versions

RELEASE.2025-04-03T14-56-28Z

Description

Impact

This is a high priority vulnerability and users must upgrade ASAP.

The signature component of the authorization may be invalid, which
would mean that as a client you can use any arbitrary secret to upload
objects given the user already has prior WRITE permissions on the bucket,

Prior knowledge of access-key, and bucket name this user might have access
to - and an access-key with a WRITE permissions is necessary.

However with relevant information in place, uploading random objects
to buckets is trivial and easy via curl

Patches

Yes #21103

Workarounds

Reject requests with x-amz-content-sha256: STREAMING-UNSIGNED-PAYLOAD-TRAILER for
now at LB layer, ask application users to use STREAMING-AWS4-HMAC-SHA256-PAYLOAD-TRAILER

Severity

High

CVE ID

CVE-2025-31489

Weaknesses

No CWEs

Credits