CVE-2021-41794
Last modified
CVE-2021-41794 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 1.18% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Open5gs | Open5gs | >= 1.0.0, <= 2.3.3 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-41794?
How severe is CVE-2021-41794?
How do I fix CVE-2021-41794?
Are you affected by CVE-2021-41794?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
