{"id":"CVE-2021-21362","state":"PUBLISHED","title":"Bypassing readOnly policy by creating a temporary 'mc share upload' URL","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-04T00-53-13Z it is possible to bypass a readOnly policy by creating a temporary 'mc share upload' URL. Everyone is impacted who uses MinIO multi-users. This is fixed in version RELEASE.2021-03-04T00-53-13Z. As a workaround, one can disable uploads with `Content-Type: multipart/form-data` as mentioned in the S3 API RESTObjectPOST docs by using a proxy in front of MinIO.","publishedAt":"2021-03-08T18:40:34.000Z","updatedAt":"2024-08-03T18:09:15.715Z","severity":{"score":7.7,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/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-04T00-53-13Z","status":"affected"}]}],"references":["https://github.com/minio/minio/security/advisories/GHSA-hq5j-6r98-9m8v","https://github.com/minio/minio/pull/11682","https://github.com/minio/minio/commit/039f59b552319fcc2f83631bb421a7d4b82bc482","https://github.com/minio/minio/releases/tag/RELEASE.2021-03-04T00-53-13Z"],"weaknesses":["CWE-285"],"ingestedAt":"2026-10-29T19:47:59.168Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/21xxx/CVE-2021-21362.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-21362","state":"PUBLISHED","datePublished":"2021-03-08T18:40:34.000Z","dateUpdated":"2024-08-03T18:09:15.715Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2020-12-22T00:00:00.000Z"},"containers":{"cna":{"title":"Bypassing readOnly policy by creating a temporary 'mc share upload' URL","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-04T00-53-13Z it is possible to bypass a readOnly policy by creating a temporary 'mc share upload' URL. Everyone is impacted who uses MinIO multi-users. This is fixed in version RELEASE.2021-03-04T00-53-13Z. As a workaround, one can disable uploads with `Content-Type: multipart/form-data` as mentioned in the S3 API RESTObjectPOST docs by using a proxy in front of MinIO."}],"affected":[{"vendor":"minio","product":"minio","versions":[{"version":"< RELEASE.2021-03-04T00-53-13Z","status":"affected"}]}],"references":[{"url":"https://github.com/minio/minio/security/advisories/GHSA-hq5j-6r98-9m8v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/minio/minio/pull/11682","tags":["x_refsource_MISC"]},{"url":"https://github.com/minio/minio/commit/039f59b552319fcc2f83631bb421a7d4b82bc482","tags":["x_refsource_MISC"]},{"url":"https://github.com/minio/minio/releases/tag/RELEASE.2021-03-04T00-53-13Z","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.7,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-285","description":"CWE-285: Improper Authorization","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2021-03-08T18:40:34.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-hq5j-6r98-9m8v","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-21362","STATE":"PUBLIC","TITLE":"Bypassing readOnly policy by creating a temporary 'mc share upload' URL"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"minio","version":{"version_data":[{"version_value":"< RELEASE.2021-03-04T00-53-13Z"}]}}]},"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-04T00-53-13Z it is possible to bypass a readOnly policy by creating a temporary 'mc share upload' URL. Everyone is impacted who uses MinIO multi-users. This is fixed in version RELEASE.2021-03-04T00-53-13Z. As a workaround, one can disable uploads with `Content-Type: multipart/form-data` as mentioned in the S3 API RESTObjectPOST docs by using a proxy in front of MinIO."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.7,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-285: Improper Authorization"}]}]},"references":{"reference_data":[{"name":"https://github.com/minio/minio/security/advisories/GHSA-hq5j-6r98-9m8v","refsource":"CONFIRM","url":"https://github.com/minio/minio/security/advisories/GHSA-hq5j-6r98-9m8v"},{"name":"https://github.com/minio/minio/pull/11682","refsource":"MISC","url":"https://github.com/minio/minio/pull/11682"},{"name":"https://github.com/minio/minio/commit/039f59b552319fcc2f83631bb421a7d4b82bc482","refsource":"MISC","url":"https://github.com/minio/minio/commit/039f59b552319fcc2f83631bb421a7d4b82bc482"},{"name":"https://github.com/minio/minio/releases/tag/RELEASE.2021-03-04T00-53-13Z","refsource":"MISC","url":"https://github.com/minio/minio/releases/tag/RELEASE.2021-03-04T00-53-13Z"}]},"source":{"advisory":"GHSA-hq5j-6r98-9m8v","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/minio/minio/security/advisories/GHSA-hq5j-6r98-9m8v","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/minio/minio/pull/11682","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/minio/minio/commit/039f59b552319fcc2f83631bb421a7d4b82bc482","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/minio/minio/releases/tag/RELEASE.2021-03-04T00-53-13Z","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T18:09:15.715Z"}}]}}}