CVE-2023-28434: Github.com/minio/minio Privilege Escalation On Linux/MacOS Vulnerability
HIGHCVE-2023-28434 is a HIGH (CVSS 8.8) privilege escalation on linux/macos vulnerability (CWE-269: Improper Privilege Management) affecting Github.com/minio/minio libraries in the Go ecosystem. The issue involves privilege escalation on linux/macos. Remediation is available by upgrading affected packages to version 0.0.0-202303200415.
CVE-2023-28434 at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:H).
How to Fix CVE-2023-28434
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-202303200415
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-2023-28434, 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-202303200415), 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-269: Improper Privilege Management, where the product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. 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-2023-28434 Affected Github.com/minio/minio Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/minio/minio
|
Go |
< 0.0.0-202303200415
|
0.0.0-202303200415
|
References
Frequently Asked Questions
What is CVE-2023-28434?
Which Github.com/minio/minio versions are affected?
What version fixes CVE-2023-28434?
Is github.com/minio/minio affected?
What is the CVSS score of CVE-2023-28434?
What CWE is associated with CVE-2023-28434?
How can I check Go dependencies for CVE-2023-28434?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2pxw-r47w-4p8c",
"modified" : "2025-10-22T19:20:02Z",
"published" : "2023-09-05T15:45:10Z",
"aliases" : [ "CVE-2023-28434" ],
"summary" : "Privilege Escalation on Linux/MacOS",
"details" : "### Impact\nAn attacker can use crafted requests to bypass metadata bucket name checking and put an object into any bucket while processing `PostPolicyBucket`. To carry out this attack, the attacker requires credentials with `arn:aws:s3:::*` permission, as well as enabled Console API access.\n\n### Patches\n```\ncommit 67f4ba154a27a1b06e48bfabda38355a010dfca5\nAuthor: Aditya Manthramurthy <donatello@users.noreply.github.com>\nDate: Sun Mar 19 21:15:20 2023 -0700\n\n fix: post policy request security bypass (#16849)\n```\n\n### Workarounds\nBrowser API access must be enabled turning off `MINIO_BROWSER=off` allows for this workaround.\n\n### References\nThe vulnerable code:\n```go\n// minio/cmd/generic-handlers.go\nfunc setRequestValidityHandler(h http.Handler) http.Handler {\n return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {\n // ...\n // For all other requests reject access to reserved buckets\n bucketName, _ := request2BucketObjectName(r)\n if isMinioReservedBucket(bucketName) || isMinioMetaBucket(bucketName) {\n if !guessIsRPCReq(r) && !guessIsBrowserReq(r) && !guessIsHealthCheckReq(r) && !guessIsMetricsReq(r) && !isAdminReq(r) && !isKMSReq(r) {\n if ok {\n tc.FuncName = \"handler.ValidRequest\"\n tc.ResponseRecorder.LogErrBody = true\n }\n writeErrorResponse(r.Context(), w, errorCodes.ToAPIErr(ErrAllAccessDisabled), r.URL)\n return\n }\n }\n // ...\n```",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/minio/minio"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.0-202303200415"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/minio/minio/security/advisories/GHSA-2pxw-r47w-4p8c"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-28434"
}, {
"type" : "WEB",
"url" : "https://github.com/minio/minio/pull/16849"
}, {
"type" : "WEB",
"url" : "https://github.com/minio/minio/commit/67f4ba154a27a1b06e48bfabda38355a010dfca5"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/minio/minio"
}, {
"type" : "WEB",
"url" : "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-28434"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-269" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-09-05T15:45:10Z",
"nvd_published_at" : "2023-03-22T21:15:00Z"
}
}