CVE-2021-41794

HIGH

Open5gs < 2.3.3 - Buffer Overflow

Title source: rule
STIX 2.1

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.

Scores

CVSS v3 7.5
EPSS 0.0040
EPSS Percentile 60.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-120
Status published
Products (1)
open5gs/open5gs 1.0.0 - 2.3.3
Published Oct 07, 2021
Tracked Since Feb 18, 2026