CVE-2021-21390
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in, but needs a user to act. High risk of data tampering.
- Exploit odds
- 0.9% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.9% in the next 30 days (EPSS).
- Severity: 6.5 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.9% · EPSS, next 30 days
- Weakness
- CWE-924
- Record status
- Modified
Affected
- Minio < 2021-03-17t02-33-02z
Attack profile CVSS 3.1 · 6.5
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2021-21390.md and follow it. Check whether this project is affected by CVE-2021-21390. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- 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
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