Vulnerability Details : CVE-2021-21390
Potential exploit
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.
Products affected by CVE-2021-21390
- cpe:2.3:a:minio:minio:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-21390
0.26%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 47 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-21390
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:P/A:N |
8.6
|
2.9
|
NIST | |
5.9
|
MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
2.2
|
3.6
|
NIST | |
6.5
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
2.8
|
3.6
|
GitHub, Inc. |
CWE ids for CVE-2021-21390
-
The product establishes a communication channel with an endpoint and receives a message from that endpoint, but it does not sufficiently ensure that the message was not modified during transmission.Assigned by:
- nvd@nist.gov (Primary)
- security-advisories@github.com (Secondary)
References for CVE-2021-21390
-
https://github.com/minio/minio/commit/e197800f9055489415b53cf137e31e194aaf7ba0
s3v4: read and verify S3 signature v4 chunks separately (#11801) · minio/minio@e197800 · GitHubExploit;Patch;Third Party Advisory
-
https://github.com/minio/minio/pull/11801
s3v4: read and verify S3 signature v4 chunks separately by aead · Pull Request #11801 · minio/minio · GitHubExploit;Patch;Third Party Advisory
-
https://github.com/minio/minio/security/advisories/GHSA-xr7r-7gpj-5pgp
Chunked body signature check not always applied · Advisory · minio/minio · GitHubExploit;Patch;Third Party Advisory
Jump to