CVE-2024-36107
JSON

5.3medium

Information disclosure in minio

Severity
5.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.63% (higher than 51% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-95fr-cm4m-q5p9GO-2024-2886

Description

MinIO is a High Performance Object Storage released under GNU Affero General Public License v3.0. `If-Modified-Since` and `If-Unmodified-Since` headers when used with anonymous requests by sending a random object name requests can be used to determine if an object exists or not on the server on a specific bucket and also gain access to some amount of information such as `Last-Modified (of the latest version)`, `Etag (of the latest version)`, `x-amz-version-id (of the latest version)`, `Expires (metadata value of the latest version)`, `Cache-Control (metadata value of the latest version)`. This conditional check was being honored before validating if the anonymous access is indeed allowed on the metadata of an object. This issue has been addressed in commit `e0fe7cc3917`. Users must upgrade to RELEASE.2024-05-27T19-17-46Z for the fix. There are no known workarounds for this issue.

Affected

Product or packageVersionsReported by
minio minio< RELEASE.2024-05-27T19-17-46Z, before RELEASE.2024-05-27T19-17-46ZCVE List
github.com/minio/minio (Go)before 0.0.0-20240527191746-e0fe7cc39172GitHub Advisory Database, Go Vulnerability Database

All scores

GitHub_M5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Classification

CWE-200

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

MinIO is a High Performance Object Storage released under GNU Affero General Public License v3.0. `If-Modified-Since` and `If-Unmodified-Since` headers when used with anonymous requests by sending a random object name requests can be used to determine if an object exists or not on the server on a specific bucket and also gain access to some amount of information such as `Last-Modified (of the latest version)`, `Etag (of the latest version)`, `x-amz-version-id (of the latest version)`, `Expires (metadata value of the latest version)`, `Cache-Control (metadata value of the latest version)`. This conditional check was being honored before validating if the anonymous access is indeed allowed on the metadata of an object. This issue has been addressed in commit `e0fe7cc3917`. Users must upgrade to RELEASE.2024-05-27T19-17-46Z for the fix. There are no known workarounds for this issue.

GitHub Advisory Database
Impact

If-Modified-Since If-Unmodified-Since

Headers when used with anonymous requests by sending a random object name requests you can figure out if the object exists or not on the server on a specific bucket and also gain access to some amount of information such as

Last-Modified (of the latest version)
Etag (of the latest version) 
x-amz-version-id (of the latest version)
Expires (metadata value of the latest version)
Cache-Control (metadata value of the latest version)

This conditional check was being honored before validating if the anonymous access is indeed allowed on the metadata of an object.

Patches

Yes this issue has been already fixed in

commit e0fe7cc391724fc5baa85b45508f425020fe4272 (HEAD -> master, origin/master)
Author: Harshavardhana <harsha@minio.io>
Date:   Mon May 27 12:17:46 2024 -0700

    fix: information disclosure bug in preconditions GET (#19810)
    
    precondition check was being honored before, validating
    if anonymous access is allowed on the metadata of an
    object, leading to metadata disclosure of the following
    headers.
    
    ```
    Last-Modified
    Etag
    x-amz-version-id
    Expires:
    Cache-Control:
    ```
    
    although the information presented is minimal in nature,
    and of opaque nature. It still simply discloses that an
    object by a specific name exists or not without even having
    enough permissions.

Users must upgrade to RELEASE.2024-05-27T19-17-46Z for the fix

Workarounds

There are no workarounds.

References

Refer to the pull request #19810 for more information on the fix.

Go Vulnerability Database

MinIO information disclosure vulnerability in github.com/minio/minio

NVD (es)

MinIO es un almacenamiento de objetos de alto rendimiento lanzado bajo la licencia pública general GNU Affero v3.0. Los encabezados `If-Modified-Since` y `If-Unmodified-Since` cuando se usan con solicitudes anónimas enviando un nombre de objeto aleatorio, las solicitudes se pueden usar para determinar si un objeto existe o no en el servidor en un depósito específico y también obtener acceso a cierta cantidad de información como `Última modificación (de la última versión)`, `Etag (de la última versión)`, `x-amz-version-id (de la última versión)`, `Expira (valor de metadatos) de la última versión)`, `Cache-Control (valor de metadatos de la última versión)`. Esta verificación condicional se cumplió antes de validar si realmente se permite el acceso anónimo a los metadatos de un objeto. Este problema se solucionó en el commit "e0fe7cc3917". Los usuarios deben actualizar a RELEASE.2024-05-27T19-17-46Z para obtener la solución. No se conocen workarounds para este problema.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2024-36107 changed 2024-09-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-95fr-cm4m-q5p9 changed 2026-10-08CC-BY-4.0
Go Vulnerability DatabaseGO-2024-2886 changed 2026-10-08CC-BY-4.0
NVDCVE-2024-36107 changed 2026-06-17Public domain