CVE-2021-21362 Bypassing readOnly policy by creating a temporary 'mc share upload' URL

High 7.7 Published Updated

Attackers can bypass read-only policies in MinIO by generating temporary upload URLs, allowing unauthorized data modification.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-21362?

CVE-2021-21362 is a high-severity vulnerability in minio, published on 8 Mar 2021. Any signed-in user can exploit it over the network, with no action from the victim.

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

Weakness: CWE-863, CWE-285

Which versions are affected by CVE-2021-21362?

It affects 1 product.

Products include Minio Minio.

How do I fix CVE-2021-21362?

Upgrade to a fixed version.

Is CVE-2021-21362 being exploited?

There is no known exploitation of CVE-2021-21362 in the wild and no public exploit code.

Sources

Also known as GHSA-hq5j-6r98-9m8v, MINI-8q66-wv8v-5pww, MINI-fgpm-38vg-2j6g.

Is CVE-2021-21362 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free