# CVE-2021-21390: MITM modification of request bodies in MinIO

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.85%, higher than 59% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2021-03-19T16:00:17.000Z
- Modified: 2026-06-17T03:35:28.373Z
- Weaknesses: CWE-924
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- minio minio: < RELEASE.2021-03-17T02-33-02Z; before 2021-03-17t02-33-02z

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/minio/minio/security/advisories/GHSA-xr7r-7gpj-5pgp> (exploit, patch, third-party-advisory)
- <https://github.com/minio/minio/pull/11801> (exploit, patch, third-party-advisory)
- <https://github.com/minio/minio/commit/e197800f9055489415b53cf137e31e194aaf7ba0> (exploit, patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-21390](https://www.cve.org/CVERecord?id=CVE-2021-21390), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-21390](https://nvd.nist.gov/vuln/detail/CVE-2021-21390), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-21390 · Whole record: https://cve.day/CVE-2021-21390.json · Rebuilt by cve.day 2026-11-25T22:58:00.345Z
