Vulnerability · Published Mar 19, 2021 · Assigned by GitHub_M
CVE-2021-21390MITM modification of request bodies in MinIO
Medium 6.5
In plain English
A medium-severity security flaw in minio from minio. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 58% of all known vulnerabilities).
Official 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 (as reported)
Weakness: CWE-924 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
References
- https://github.com/minio/minio/security/advisories/GHSA-xr7r-7gpj-5pgp x_refsource_CONFIRM
- https://github.com/minio/minio/pull/11801 x_refsource_MISC
- https://github.com/minio/minio/commit/e197800f9055489415b53cf137e31e194aaf7ba0 x_refsource_MISC