CVE-2024-36107: Github.com/minio/minio MinIO Information Disclosure Vulnerability Vulnerability
MODERATECVE-2024-36107 is a MODERATE (CVSS 5.3) minio information disclosure vulnerability vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Github.com/minio/minio libraries in the Go ecosystem. The issue involves minio information disclosure vulnerability. Remediation is available by upgrading affected packages to version 0.0.0-20240527191746-e0fe7cc39172.
CVE-2024-36107 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2024-36107
To remediate this vulnerability, upgrade all affected Github.com/minio/minio dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/minio/minio to 0.0.0-20240527191746-e0fe7cc39172
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/minio/minio
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-36107, inspect your project dependencies for Github.com/minio/minio:
inspect dependencies for github.com/minio/minio
Analyze the terminal output to locate any version of Github.com/minio/minio in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20240527191746-e0fe7cc39172), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Github.com/minio/minio, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-36107 Affected Github.com/minio/minio Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/minio/minio
|
Go |
< 0.0.0-20240527191746-e0fe7cc39172
|
0.0.0-20240527191746-e0fe7cc39172
|
References
Frequently Asked Questions
What is CVE-2024-36107?
Which Github.com/minio/minio versions are affected?
What version fixes CVE-2024-36107?
Is github.com/minio/minio affected?
What is the CVSS score of CVE-2024-36107?
What CWE is associated with CVE-2024-36107?
How can I check Go dependencies for CVE-2024-36107?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-95fr-cm4m-q5p9",
"modified" : "2024-05-29T18:37:14Z",
"published" : "2024-05-29T18:37:14Z",
"aliases" : [ "CVE-2024-36107" ],
"summary" : "MinIO information disclosure vulnerability",
"details" : "### Impact\n[If-Modified-Since](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Modified-Since)\n[If-Unmodified-Since](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Unmodified-Since) \n\nHeaders when used with anonymous requests by sending a random object name requests you can figure\nout if the object exists or not on the server on a specific bucket and also gain access to some amount of\ninformation such as \n\n```\nLast-Modified (of the latest version)\nEtag (of the latest version) \nx-amz-version-id (of the latest version)\nExpires (metadata value of the latest version)\nCache-Control (metadata value of the latest version)\n```\n\nThis conditional check was being honored before validating if the anonymous\naccess is indeed allowed on the metadata of an object.\n\n### Patches\nYes this issue has been already fixed in \n\n```\ncommit e0fe7cc391724fc5baa85b45508f425020fe4272 (HEAD -> master, origin/master)\nAuthor: Harshavardhana <harsha@minio.io>\nDate: Mon May 27 12:17:46 2024 -0700\n\n fix: information disclosure bug in preconditions GET (#19810)\n \n precondition check was being honored before, validating\n if anonymous access is allowed on the metadata of an\n object, leading to metadata disclosure of the following\n headers.\n \n ```\n Last-Modified\n Etag\n x-amz-version-id\n Expires:\n Cache-Control:\n ```\n \n although the information presented is minimal in nature,\n and of opaque nature. It still simply discloses that an\n object by a specific name exists or not without even having\n enough permissions.\n```\n\nUsers must upgrade to RELEASE.2024-05-27T19-17-46Z for the fix\n\n### Workarounds\nThere are no workarounds.\n\n### References\nRefer to the pull request #19810 for more information on the fix.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/minio/minio"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.0-20240527191746-e0fe7cc39172"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/minio/minio/security/advisories/GHSA-95fr-cm4m-q5p9"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-36107"
}, {
"type" : "WEB",
"url" : "https://github.com/minio/minio/pull/19810"
}, {
"type" : "WEB",
"url" : "https://github.com/minio/minio/commit/e0fe7cc391724fc5baa85b45508f425020fe4272"
}, {
"type" : "WEB",
"url" : "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Modified-Since"
}, {
"type" : "WEB",
"url" : "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Unmodified-Since"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/minio/minio"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-29T18:37:14Z",
"nvd_published_at" : "2024-05-28T19:15:10Z"
}
}