CVE-2025-31489: Github.com/minio/minio MinIO Performs Incomplete Signature Validation Vulnerability
HIGHCVE-2025-31489 is a HIGH minio performs incomplete signature validation vulnerability (CWE-347: Improper Verification of Cryptographic Signature) affecting Github.com/minio/minio libraries in the Go ecosystem. The issue involves minio performs incomplete signature validation for unsigned-trailer uploads. Remediation is available by upgrading affected packages to version 0.0.0-20250403145552-8c70975283f9.
CVE-2025-31489 at a Glance
How to Fix CVE-2025-31489
To remediate this vulnerability, upgrade all affected Github.com/minio/minio dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/minio/minio to 0.0.0-20250403145552-8c70975283f9
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/minio/minio
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-31489, inspect your project dependencies for Github.com/minio/minio:
inspect dependencies for github.com/minio/minio
Analyze the terminal output to locate any version of Github.com/minio/minio in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20250403145552-8c70975283f9), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-347: Improper Verification of Cryptographic Signature, where the product does not verify, or incorrectly verifies, the cryptographic signature for data. In Github.com/minio/minio, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-31489 Affected Github.com/minio/minio Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/minio/minio
|
Go |
< 0.0.0-20250403145552-8c70975283f9
|
0.0.0-20250403145552-8c70975283f9
|
References
Frequently Asked Questions
What is CVE-2025-31489?
Which Github.com/minio/minio versions are affected?
What version fixes CVE-2025-31489?
Is github.com/minio/minio affected?
What CWE is associated with CVE-2025-31489?
How can I check Go dependencies for CVE-2025-31489?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wg47-6jq2-q2hh",
"modified" : "2025-04-04T14:28:29Z",
"published" : "2025-04-04T14:28:29Z",
"aliases" : [ "CVE-2025-31489" ],
"summary" : "MinIO performs incomplete signature validation for unsigned-trailer uploads",
"details" : "### Impact\nThis is a high priority vulnerability and users must upgrade ASAP.\n\nThe 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,\n\nPrior knowledge of access-key, and bucket name this user might have access to - and an access-key with a WRITE permissions is necessary.\n\nHowever with relevant information in place, uploading random objects to buckets is trivial and easy via `curl`\n\n### Patches\nYes https://github.com/minio/minio/pull/21103\n\n### Workarounds\nReject 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" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/minio/minio"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.0-20250403145552-8c70975283f9"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/minio/minio/security/advisories/GHSA-wg47-6jq2-q2hh"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-31489"
}, {
"type" : "WEB",
"url" : "https://github.com/minio/minio/pull/21103"
}, {
"type" : "WEB",
"url" : "https://github.com/minio/minio/commit/8c70975283f9f4ce80f331a25c7475a36279e519"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/minio/minio"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-347" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-04T14:28:29Z",
"nvd_published_at" : "2025-04-03T20:15:25Z"
}
}