CVE-2021-21390 Details
Description
MinIO is an open-source high performance object storage service and it is API compatible with Amazon S3 cloud storage service. In MinIO before version RELEASE.2021-03-17T02-33-02Z, there is a vulnerability which enables MITM modification of request bodies that are meant to have integrity guaranteed by chunk signatures. In a PUT request using aws-chunked encoding, MinIO ordinarily verifies signatures at the end of a chunk. This check can be skipped if the client sends a false chunk size that is much greater than the actual data sent: the server accepts and completes the request without ever reaching the end of the chunk + thereby without ever checking the chunk signature. This is fixed in version RELEASE.2021-03-17T02-33-02Z. As a workaround one can avoid using "aws-chunked" encoding-based chunk signature upload requests instead use TLS. MinIO SDKs automatically disable chunked encoding signature when the server endpoint is configured with TLS.
A vulnerability exists in MinIO, an open-source object storage service compatible with Amazon S3, prior to version RELEASE.2021-03-17T02-33-02Z. The issue allows for man-in-the-middle (MITM) attacks by modifying request bodies that should have integrity protected by chunk signatures. In PUT requests using aws-chunked encoding, MinIO typically verifies signatures at the end of each chunk. However, this verification can be bypassed if the client sends a misleading chunk size that is significantly larger than the actual data. As a result, the server completes the request without checking the chunk signature, creating a potential security risk.
Users are advised to upgrade to MinIO version RELEASE.2021-03-17T02-33-02Z. As a workaround, avoid using 'aws-chunked' encoding for uploads that require chunk signatures, and instead use TLS, which MinIO SDKs automatically configure to disable chunked encoding signatures when the server endpoint is secured with TLS.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/minio/minio/commit/e197800f9055489415b53cf137e31e194aaf7ba0 | CVE | ExploitPatchThird Party Advisory |
| https://github.com/minio/minio/pull/11801 | CVE | ExploitPatchThird Party Advisory |
| https://github.com/minio/minio/security/advisories/GHSA-xr7r-7gpj-5pgp | CVE | ExploitPatchThird Party Advisory |
| https://github.com/minio/minio/commit/e197800f9055489415b53cf137e31e194aaf7ba0 | [email protected] | ExploitPatchThird Party Advisory |
| https://github.com/minio/minio/pull/11801 | [email protected] | ExploitPatchThird Party Advisory |
| https://github.com/minio/minio/security/advisories/GHSA-xr7r-7gpj-5pgp | [email protected] | ExploitPatchThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-924 | Improper Enforcement of Message Integrity During Transmission in a Communication Channel | [email protected] |
| CWE-924 | Improper Enforcement of Message Integrity During Transmission in a Communication Channel | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| minio minio | < 2021-03-17t02-33-02z |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Mar 25, 2021 | Initial Analysis | [email protected] |