CVE-2024-14042: Open5GS Diameter S6a hss-s6a-path.c hss_ogs_diam_s6a_ulr_cb stack-based overflow
A vulnerability was found in Open5GS up to 2.7.1. This affects the function hssogsdiams6aaircb/hssogsdiams6aulrcb of the file src/hss/hss-s6a-path.c of the component Diameter S6a Interface. Performing a manipulation of the argument os.len results in stack-based buffer overflow. It is possible to initiate the attack remotely. The exploit has been made public and could be used. Upgrading to version 2.7.2 is able to mitigate this issue. The patch is named e89aa79efe629ae90f59dcdf8847c117d9a7da86. It is suggested to upgrade the affected component.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Open5GSto a version that resolves this vulnerability.Fixed in 2.7.2Patch e89aa79efe629ae90f59dcdf8847c117d9a7da86 - Compensating control
Apply the mitigation by upgrading Open5GS to 2.7.2, which addresses the stack-based buffer overflow in the Diameter S6a Interface function hss_ogs_diam_s6a_air_cb/hss_ogs_diam_s6a_ulr_cb (src/hss/hss-s6a-path.c).
Event History
Frequently Asked Questions
What is the severity of CVE-2024-14042?
CVE-2024-14042 has a medium severity rating of 6.3.
How do I fix CVE-2024-14042?
To fix CVE-2024-14042, upgrade Open5GS to version 2.7.2 or later.
What component is affected by CVE-2024-14042?
CVE-2024-14042 affects the Diameter S6a Interface component of Open5GS.
What kind of vulnerability is CVE-2024-14042?
CVE-2024-14042 is classified as a stack-based buffer overflow.
What impact does CVE-2024-14042 have?
CVE-2024-14042 can lead to unauthorized access or execution of arbitrary code due to the buffer overflow.