GHSA-7c47-xr7q-p6hg

Suggest an improvement
Source
https://github.com/advisories/GHSA-7c47-xr7q-p6hg
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-7c47-xr7q-p6hg/GHSA-7c47-xr7q-p6hg.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-7c47-xr7q-p6hg
Aliases
Published
2026-03-18T20:05:31Z
Modified
2026-03-23T18:56:21Z
Severity
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
free5GC NRF Discovery EncodeGroupId Function Panics on Malformed group-id-list Parameter
Details

Impact
This is an Improper Input Validation vulnerability leading to Denial of Service.

  • Security Impact: 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.
  • Functional Impact: 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".
  • Affected Parties: All deployments of free5GC v4.0.1 using the NRF discovery service.

Patches
Yes, the issue has been patched.
The fix is implemented in PR free5gc/nrf#80 (commit: [add fix reference here]).
Users should upgrade to the next release of free5GC that includes this commit.

Workarounds
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.

Database specific
{
    "cwe_ids":  [
        "CWE-284"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-03-18T20:05:31Z",
    "nvd_published_at":  "2026-03-20T03:16:01Z",
    "severity":  "HIGH"
}
References

Affected packages

Go / github.com/free5gc/nrf

Package

Name
github.com/free5gc/nrf
View open source insights on deps.dev
Purl
pkg:golang/github.com/free5gc/nrf

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.4.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-7c47-xr7q-p6hg/GHSA-7c47-xr7q-p6hg.json"