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.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: mitre
Published: 2021-10-07T14:57:14
Updated: 2024-08-04T03:22:24.034Z
Reserved: 2021-09-29T00:00:00
Link: CVE-2021-41794
Vulnrichment
No data.
NVD
Status : Modified
Published: 2021-10-07T15:15:11.200
Modified: 2024-11-21T06:26:46.517
Link: CVE-2021-41794
Redhat
No data.