{"id":"CVE-2021-21390","state":"PUBLISHED","title":"MITM modification of request bodies in MinIO","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.","publishedAt":"2021-03-19T16:00:17.000Z","updatedAt":"2024-08-03T18:09:16.085Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["minio minio"],"affected":[{"vendor":"minio","product":"minio","versions":[{"version":"< RELEASE.2021-03-17T02-33-02Z","status":"affected"}]}],"references":["https://github.com/minio/minio/security/advisories/GHSA-xr7r-7gpj-5pgp","https://github.com/minio/minio/pull/11801","https://github.com/minio/minio/commit/e197800f9055489415b53cf137e31e194aaf7ba0"],"weaknesses":["CWE-924"],"ingestedAt":"2026-10-29T19:47:59.168Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/21xxx/CVE-2021-21390.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-21390","state":"PUBLISHED","datePublished":"2021-03-19T16:00:17.000Z","dateUpdated":"2024-08-03T18:09:16.085Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2020-12-22T00:00:00.000Z"},"containers":{"cna":{"title":"MITM modification of request bodies in MinIO","descriptions":[{"lang":"en","value":"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":[{"vendor":"minio","product":"minio","versions":[{"version":"< RELEASE.2021-03-17T02-33-02Z","status":"affected"}]}],"references":[{"url":"https://github.com/minio/minio/security/advisories/GHSA-xr7r-7gpj-5pgp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/minio/minio/pull/11801","tags":["x_refsource_MISC"]},{"url":"https://github.com/minio/minio/commit/e197800f9055489415b53cf137e31e194aaf7ba0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-924","description":"CWE-924: Improper Enforcement of Message Integrity During Transmission in a Communication Channel","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2021-03-19T16:00:17.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-xr7r-7gpj-5pgp","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-21390","STATE":"PUBLIC","TITLE":"MITM modification of request bodies in MinIO"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"minio","version":{"version_data":[{"version_value":"< RELEASE.2021-03-17T02-33-02Z"}]}}]},"vendor_name":"minio"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-924: Improper Enforcement of Message Integrity During Transmission in a Communication Channel"}]}]},"references":{"reference_data":[{"name":"https://github.com/minio/minio/security/advisories/GHSA-xr7r-7gpj-5pgp","refsource":"CONFIRM","url":"https://github.com/minio/minio/security/advisories/GHSA-xr7r-7gpj-5pgp"},{"name":"https://github.com/minio/minio/pull/11801","refsource":"MISC","url":"https://github.com/minio/minio/pull/11801"},{"name":"https://github.com/minio/minio/commit/e197800f9055489415b53cf137e31e194aaf7ba0","refsource":"MISC","url":"https://github.com/minio/minio/commit/e197800f9055489415b53cf137e31e194aaf7ba0"}]},"source":{"advisory":"GHSA-xr7r-7gpj-5pgp","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/minio/minio/security/advisories/GHSA-xr7r-7gpj-5pgp","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/minio/minio/pull/11801","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/minio/minio/commit/e197800f9055489415b53cf137e31e194aaf7ba0","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T18:09:16.085Z"}}]}}}