AWS efs-utilsの脆弱性、同一ホスト上の別のファイルシステムに読み書きされるおそれ
Summary
AWS efs-utils(amazon-efs-utils)3.3.5より前には、同じホストで同時にマウント処理を行うと、別のEFSやS3 Filesのファイルシステムに読み書きされるおそれのある脆弱性があります。影響は同じホスト上のワークロード間に限られ、AWSアカウントをまたぐ権限の拡大は確認されていません。amazon-efs-utilsは3.3.5以降に、EFS CSIドライバーは3.5.4以降に、EKSアドオンはv3.5.4-eksbuild.1以降に更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
AWS efs-utils(amazon-efs-utils)3.3.5より前には、同じホストで同時にマウント処理を行うと、別のEFSやS3 Filesのファイルシステムに読み書きされるおそれのある脆弱性があります。影響は同じホスト上のワークロード間に限られ、AWSアカウントをまたぐ権限の拡大は確認されていません。amazon-efs-utilsは3.3.5以降に、EFS CSIドライバーは3.5.4以降に、EKSアドオンはv3.5.4-eksbuild.1以降に更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| AWSamazon-efs-utils |
< 3.3.5→ 3.3.5 |
3.3.5 |
| AWSaws-efs-csi-driver |
< 3.5.4-eksbuild.1→ 3.5.4-eksbuild.1 |
3.5.4-eksbuild.1 |
Original description The description as published by the source.
A time-of-check time-of-use (TOCTOU) race condition in the local port selection in AWS efs-utils (amazon-efs-utils) before 3.3.5 might allow a user that can start EFS mounts on a shared host to read and write a different Amazon EFS or S3 Files file system that is mounted on that same host, under that mount's IAM identity and access point, via concurrent mount operations. Only file systems mounted on the same host at the same time can be affected. Every mount involved was configured by the owner of that host, using credentials and access points that owner controls, against file systems whose owners had already granted that host access, so the issue grants no access beyond what the host was already permitted and does not cross AWS account boundaries unless the host's owner configured a cross-account mount. The practical risk is lateral access between workloads on the same host at the same time, for example one container reading another container's file system under that container's identity. The issue does not expose the other mount's IAM credentials or TLS session keys.
To remediate this issue, users should upgrade amazon-efs-utils to version 3.3.5 or later. Users of the Amazon EFS CSI Driver should upgrade to version 3.5.4 or later, and users of the Amazon EKS EFS CSI add-on should update to v3.5.4-eksbuild.1 or later.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- advisory aws.amazon.com
- advisory github.com
- advisory nvd.nist.gov
- AWS aws.amazon.com
- patch github.com
- patch github.com