GHSA-95fr-cm4m-q5p9

Suggest an improvement
Source
https://github.com/advisories/GHSA-95fr-cm4m-q5p9
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-95fr-cm4m-q5p9/GHSA-95fr-cm4m-q5p9.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-95fr-cm4m-q5p9
Aliases
Related
Published
2024-05-29T18:37:14Z
Modified
2024-07-15T22:42:03.931009Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
MinIO information disclosure vulnerability
Details

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.

Database specific
{
    "nvd_published_at": "2024-05-28T19:15:10Z",
    "cwe_ids": [
        "CWE-200"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-05-29T18:37:14Z"
}
References

Affected packages

Go / github.com/minio/minio

Package

Name
github.com/minio/minio
View open source insights on deps.dev
Purl
pkg:golang/github.com/minio/minio

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0.0-20240527191746-e0fe7cc39172