CVE-2022-46174
Race condition during concurrent TLS mounts in efs-utils
In short
A race condition in efs-utils allows concurrent TLS mount operations to reuse the same local port, causing mount failures or incorrect connections between local mount points and EFS file systems.
Technical detail
The TLS mount helper in efs-utils versions ≤v1.34.3 allocates local ports for stunnel without proper synchronization, enabling concurrent mount operations to claim identical ports (CWE-362). This can result in failed mounts or cross-customer port mapping if multiple mounts occur simultaneously.
Summary generated and translated by AI from the official description.
efs-utils is a set of Utilities for Amazon Elastic File System (EFS). A potential race condition issue exists within the Amazon EFS mount helper in efs-utils versions v1.34.3 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. This issue is patched in version v1.34.4. There is no recommended work around. We recommend affected users update the installed version of efs-utils to v1.34.4 or later.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L
Affected products
aws · efs-utilsWant to know if your infrastructure is exposed to this?
Talk to TrueHacking →