Skip to content

Race condition during concurrent TLS mounts in efs-utils and aws-efs-csi-driver

Moderate
tijumat published GHSA-4fv8-w65m-3932 Dec 27, 2022

Package

gomod aws-efs-csi-driver (Go)

Affected versions

<= v1.4.7

Patched versions

>= v1.4.8
efs-utils (yum)
<= v1.34.3
>= v1.34.4

Description

Impact

A potential race condition issue exists within the Amazon EFS mount helper in efs-utils versions v1.34.3 and below, and aws-efs-csi-driver versions v1.4.7 and below. When using TLS to mount file systems, the mount helper allocates a local port for stunnel to receive NFS connections prior to applying the TLS tunnel. In affected versions, concurrent mount operations can allocate the same local port, leading to either failed mount operations or an inappropriate mapping from an EFS customer’s local mount points to that customer’s EFS file systems.

Affected versions: efs-utils <= v1.34.3, aws-efs-csi-driver <= v1.4.7

Patches

The patches are included in efs-utils version v1.34.4 and newer, and in aws-efs-csi-driver v1.4.8 and newer.

Workarounds

There is no recommended work around. We recommend affected users update the installed version of efs-utils to v1.34.4+ or aws-efs-csi-driver to v1.4.8+ to address this issue.

References

f3a8f88
#125
kubernetes-sigs/aws-efs-csi-driver#282
kubernetes-sigs/aws-efs-csi-driver#635

Severity

Moderate

CVE ID

CVE-2022-46174

Weaknesses

No CWEs