free5GC NRF Discovery EncodeGroupId Function Panics on Malformed group-id-list Parameter
Description
free5GC is an open source 5G core network. free5GC NRF prior to version 1.4.2 has an Improper Input Validation vulnerability leading to Denial of Service. All deployments of free5GC using the NRF discovery service are affected. The EncodeGroupId function attempts to access array indices [0], [1], [2] without validating the length of the split data. When the parameter contains insufficient separator characters, the code panics with "index out of range". A remote attacker can cause the NRF service to panic and crash by sending a crafted HTTP GET request with a malformed group-id-list parameter. This results in complete denial of service for the NRF discovery service. free5GC NRF version 1.4.2 fixes the issue. There is no direct workaround at the application level. The recommendation is to apply the provided patch or restrict access to the NRF API to trusted sources only.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/free5gc/nrfGo | < 1.4.2 | 1.4.2 |
Affected products
3- ghsa-coords2 versions
< 1.4.2+ 1 more
- (no CPE)range: < 1.4.2
- (no CPE)range: < 0.0.20260326T203309-150000.1.155.2
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-7c47-xr7q-p6hgghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-33062ghsaADVISORY
- github.com/free5gc/free5gc/issues/777ghsax_refsource_MISCWEB
- github.com/free5gc/free5gc/security/advisories/GHSA-7c47-xr7q-p6hgghsax_refsource_CONFIRMWEB
- github.com/free5gc/nrf/commit/dac77d8f8f2e0f041c5634fb3c685dcb9734b872ghsax_refsource_MISCWEB
- github.com/free5gc/nrf/pull/80ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.