Bugzilla – Bug 1206737
VUL-0: CVE-2022-46174: aws-efs-utils: race condition during concurrent TLS mounts in efs-utils and aws-efs-csi-driver
Last modified: 2024-05-03 09:37:13 UTC
CVE-2022-46174 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. Upstream fix: https://github.com/aws/efs-utils/commit/f3a8f88167d55caa2f78aeb72d4dc1987a9ed62d References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-46174 https://www.cve.org/CVERecord?id=CVE-2022-46174 https://github.com/aws/efs-utils/commit/f3a8f88167d55caa2f78aeb72d4dc1987a9ed62d https://github.com/aws/efs-utils/issues/125 https://github.com/aws/efs-utils/security/advisories/GHSA-4fv8-w65m-3932 http://www.cvedetails.com/cve/CVE-2022-46174/
The code changed quite a bit since old versions (SLE12) but the philosophy of the port allocation is the same. Therefore, those codestreams should be affected: - SUSE:SLE-12:Update - SUSE:SLE-15-SP1:Update - SUSE:SLE-15:Update - openSUSE:Factory
Quick overview regarding the different codestreams. - openSUSE:Factory has already had the fixed version since 2023-01-03 - SUSE:SLE-15-SP1:Update can be updated without problems to 1.34.4 - SUSE:SLE-15:Update cannot be easily updated due to build dependency issues - SUSE:SLE-12:Update cannot be easily updated due to build dependency issues The patch does not apply against older versions of the package (not even against the version in SUSE:SLE-15-SP1:Update), so it would have ported manually to the older versions. For SUSE:SLE-15-SP1:Update, I would just update the package to 1.34.4 (or even 1.34.5) unless anyone objects. For SUSE:SLE-15:Update and SUSE:SLE-12:Update, I will start looking into porting the fix to the older codebase.
Fix for SLE-12-Update and SLE-15-Update will be realized through a backport of the fix.
There's nothing to do for SLE 15, it reached EOL on December 31 2022
SUSE-SU-2023:0423-1: An update that solves one vulnerability and has one errata is now available. Category: security (moderate) Bug References: 1191055,1206737 CVE References: CVE-2022-46174 JIRA References: Sources used: openSUSE Leap 15.4 (src): aws-efs-utils-1.34.5-150100.4.11.1 SUSE Linux Enterprise Module for Public Cloud 15-SP4 (src): aws-efs-utils-1.34.5-150100.4.11.1 SUSE Linux Enterprise Module for Public Cloud 15-SP3 (src): aws-efs-utils-1.34.5-150100.4.11.1 SUSE Linux Enterprise Module for Public Cloud 15-SP2 (src): aws-efs-utils-1.34.5-150100.4.11.1 SUSE Linux Enterprise Module for Public Cloud 15-SP1 (src): aws-efs-utils-1.34.5-150100.4.11.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Patched version for 12sp5 is in review https://build.suse.de/request/show/292418.
SUSE-SU-2023:1761-1: An update that solves one vulnerability can now be installed. Category: security (moderate) Bug References: 1206737 CVE References: CVE-2022-46174 Sources used: Public Cloud Module 12 (src): aws-efs-utils-1.7-1.6.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
done, closing