Live threats

All CVEs / Open5gs

CVE-2021-41794Open5gs

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.2%
probability of exploitation in 30 days · percentile 69
Auth required
No
Published
Oct 7, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-120
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Open5gs.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
open5gsopen5gs≥ 1.0.0 ≤ 2.3.3

Official sources

References

Links published by the sources. Open them with care.