CVE-2021-41794Open5gs
High 7.5 No auth needed
Follow: this CVE · Open5gs · Open5gs We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Open5gs.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| open5gs | open5gs | ≥ 1.0.0 ≤ 2.3.3 |
Official sources
References
Links published by the sources. Open them with care.
- research.nccgroup.com Exploit Third Party Advisory