Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Open5Gs | Open5Gs | >= 1.0.0, <= 2.3.3 |
Related Weaknesses (CWE)
References
- https://research.nccgroup.com/2021/10/06/technical-advisory-open5gs-stack-bufferExploitThird Party Advisory
- https://research.nccgroup.com/2021/10/06/technical-advisory-open5gs-stack-bufferExploitThird Party Advisory
FAQ
What is CVE-2021-41794?
CVE-2021-41794 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 "inte...
How severe is CVE-2021-41794?
CVE-2021-41794 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-41794?
Check the references section above for vendor advisories and patch information. Affected products include: Open5Gs Open5Gs.