What’s Vulnerable › Vulnerabilities
CVE-2021-21390: MITM modification of request bodies in MinIO
- Severity: medium (CVSS 5.9 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-03-19 · updated 2026-06-17
- Weakness: CWE-924
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.
Affected products
- minio: before 2021-03-17t02-33-02z — fixed in 2021-03-17t02-33-02z
How to fix
Upgrade to a fixed version: minio 2021-03-17t02-33-02z. Check the vendor advisory for mitigations.
References
- https://github.com/minio/minio/commit/e197800f9055489415b53cf137e31e194aaf7ba0
- https://github.com/minio/minio/pull/11801
- https://github.com/minio/minio/security/advisories/GHSA-xr7r-7gpj-5pgp
- https://github.com/minio/minio/commit/e197800f9055489415b53cf137e31e194aaf7ba0
- https://github.com/minio/minio/pull/11801
- https://github.com/minio/minio/security/advisories/GHSA-xr7r-7gpj-5pgp
Get alerted when CVE-2021-21390 or the next vulnerability affects your stack