7.5

CVE-2021-41794: open5gs Classic Buffer Overflow

CVSS: 7.5v3.1HighModified
Published 07-10-2021Last modified 04-08-2024

Vulnerability summary

CVE-2021-41794 is a high (CVSS 7.5) Classic Buffer Overflow vulnerability in open5gs. EPSS estimates a 1.22% chance of exploitation in the next 30 days, higher than 68.2% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
40/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
1.22%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference

Timeline

  1. 07-10-2021
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

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 metrics

2 scores · 1 source · 2 versions

EPSS trend

Probability

1.22%

Chance of exploitation in the next 30 days

Percentile

68%

Versus all other CVEs

30-day change

0.00 pp

From 1.22% on 18-09-2026

18-09-202618-10-2026
EPSS score
1.22%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (research.nccgroup.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Open5gs1 product

1 vendor · 1 product

References

1 links