CVE-2021-21362
JSON

7.7high

Bypassing readOnly policy by creating a temporary 'mc share upload' URL

Severity
7.7high CVSS:3.1 by GitHub_M
Exploit likelihood
1.34% (higher than 72% of CVEs; EPSS, by FIRST)
Published
Last changed
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-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

Product or packageVersionsReported by
minio minio< RELEASE.2021-03-04T00-53-13Z, before 2021-03-04t00-53-13zCVE List, NVD

All scores

GitHub_M7.7high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
NVD4.0medium CVSS:2.0AV:N/AC:L/Au:S/C:N/I:P/A:N

Classification

What each source says

CVE List

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.

NVD (es)

MinIO es un servicio de almacenamiento de objetos de alto rendimiento de código abierto y es compatible con la API con el servicio de almacenamiento en nube Amazon S3.&#xa0;En MinIO versiones anteriores a RELEASE.2021-03-04T00-53-13Z, es posible omitir una política de solo lectura al crear una URL temporal "mc share upload".&#xa0;Todos los que usan MinIO multiusuario están afectados.&#xa0;Esto es corregido en versión RELEASE.2021-03-04T00-53-13Z.&#xa0;Como una solución alternativa, puede ser deshabilitar las cargas con "Content-Type: multipart/form-data" como es mencionado en los documentos RESTObjectPOST de la API S3 al usar un proxy frente a MinIO

References

Sources

SourceRecordLicence
CVE ListCVE-2021-21362 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-21362 changed 2026-06-17Public domain