Vulnerabilities · 2021 · Open5gs
CVE-2021-41794
Open5gs vulnerability
ogs_fqdn_parse in Open5GS 1.0.0 through 2.3.3 inappropriately trusts a client-supplied length value, leading to a buffer overflow. The attacker can send a PFCP Session Establishment Request with "internet" as the PDI Network Instance. The first character is interpreted as a length value to be used in a memcpy call. The destination buffer is only 100 bytes long on the stack. Then, 'i' gets interpreted as 105 bytes to copy from the source buffer to the destination buffer.
Affected products
Open5gs. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Open5gs runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Open5gs products
CVE-2026-1587CVE-2026-1586CVE-2026-1522CVE-2026-1521CVE-2026-0622CVE-2025-65559CVE-2025-63288CVE-2025-55904All 104
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.