ArchLinux: 202102-10: minio: directory traversal
Summary
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 the "MINIO_BROWSER=off" environment variable.
Resolution
Upgrade to 2021.01.30-1.
# pacman -Syu "minio>=2021.01.30-1"
The problem has been fixed upstream in version 2021.01.30.
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://security.archlinux.org/CVE-2021-21287
Workaround
The browser front-end can be disabled with the "MINIO_BROWSER=off" environment variable.