Buffer overflow in Open5gs
CVE-2024-14042
A vulnerability was found in Open5GS up to 2.7.1. This affects the function hss_ogs_diam_s6a_air_cb/hss_ogs_diam_s6a_ulr_cb 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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.005, 43.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Open5gs — versions 2.7.0, 2.7.1, 2.7.2
Weakness classification (CWE)
References
- VDB-387280 | Open5GS Diameter S6a hss-s6a-path.c hss_ogs_diam_s6a_ulr_cb stack-based overflow (technical-description, vdb-entry)
- VDB-387280 | CTI Indicators (IOB, IOC, IOA) (signature, permissions-required)
- CVE-2024-14042 | CVE Analysis and Report (third-party-advisory)
- Submit #867105 | Open5GS v2.7.2 Memory Corruption (third-party-advisory)
- github.com/open5gs/open5gs/issues/3155 (issue-tracking)
- github.com/open5gs/open5gs/files/15051218/capture.pcap.gz (exploit)
- github.com/open5gs/open5gs/commit/e89aa79efe629ae90f59dcdf8847c117d9a7da86 (patch)
- github.com/open5gs/open5gs/releases/tag/v2.7.2 (patch)
- github.com/open5gs/open5gs/ (product)