5.3medium
Open5GS Diameter S6a hss-s6a-path.c hss_ogs_diam_s6a_ulr_cb stack-based overflow
- Severity
- 5.3medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.38% (higher than 34% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Open5GS | 2.7.0, 2.7.1 Not affected: 2.7.2 | CVE List |
All scores
| VulDB | 5.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P |
| VulDB | 6.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C |
| VulDB | 6.3medium CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C |
| VulDB | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C |
Classification
What each source says
CVE List
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.
NVD (es)
Una vulnerabilidad fue encontrada en Open5GS hasta 2.7.1. Esto afecta la función hss_ogs_diam_s6a_air_cb/hss_ogs_diam_s6a_ulr_cb del archivo src/hss/hss-s6a-path.c del componente Interfaz Diameter S6a. Realizar una manipulación del argumento os.len resulta en desbordamiento de búfer basado en pila. Es posible iniciar el ataque remotamente. El exploit ha sido hecho público y podría ser usado. Actualizar a la versión 2.7.2 es capaz de mitigar este problema. El parche se llama e89aa79efe629ae90f59dcdf8847c117d9a7da86. Se sugiere actualizar el componente afectado.
References
| https://vuldb.com/vuln/387280 | technical-description, vdb-entry | |
| https://vuldb.com/vuln/387280/cti | permissions-required, signature | |
| https://vuldb.com/cve/CVE-2024-14042 | third-party-advisory | |
| https://vuldb.com/submit/867105 | third-party-advisory | |
| https://github.com/open5gs/open5gs/issues/3155 | issue-tracking | |
| https://github.com/open5gs/open5gs/files/15051218/capture.pcap.gz | exploit | |
| https://github.com/open5gs/open5gs/commit/e89aa79efe629ae90f59dcdf8847c117d9a7da86 | patch | |
| https://github.com/open5gs/open5gs/releases/tag/v2.7.2 | patch | |
| https://github.com/open5gs/open5gs/ | product | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-14042 changed 2026-08-12 | CVE Terms of Use |
| NVD | CVE-2024-14042 changed 2026-10-27 | Public domain |