GHSA-958m-gxmc-mccm

Suggest an improvement
Source
https://github.com/advisories/GHSA-958m-gxmc-mccm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-958m-gxmc-mccm/GHSA-958m-gxmc-mccm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-958m-gxmc-mccm
Aliases
Published
2026-03-18T20:07:17Z
Modified
2026-03-23T18:56:20Z
Severity
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
free5GC UDM incorrectly returns 500 for empty supi path parameter in DELETE sdm-subscriptions request
Details

Impact
This is an Improper Error Handling vulnerability with Information Exposure implications.

  • Security Impact: The UDM incorrectly converts a downstream 400 Bad Request (from UDR) into a 500 Internal Server Error when handling DELETE requests with an empty supi path parameter. This leaks internal error handling behavior and makes it difficult for clients to distinguish between client-side errors and server-side failures.
  • Functional Impact: When a client sends a DELETE request with an empty supi (e.g., double slashes // in URL path), the UDM forwards the malformed request to UDR, which correctly returns 400. However, UDM propagates this as 500 SYSTEM_FAILURE instead of returning the appropriate 400 error to the client. This violates REST API best practices for DELETE operations.
  • Affected Parties: All deployments of free5GC v4.0.1 using the UDM Nudm_SDM service with DELETE operations on sdm-subscriptions endpoint.

Patches
Yes, the issue has been patched.
The fix is implemented in PR free5gc/udm#79.
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 implement API gateway-level validation to reject DELETE requests with empty path parameters before they reach UDM.

Database specific
{
    "cwe_ids": [
        "CWE-209"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-03-18T20:07:17Z",
    "nvd_published_at": "2026-03-20T08:16:12Z",
    "severity": "MODERATE"
}
References

Affected packages

Go / github.com/free5gc/udm

Package

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

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-958m-gxmc-mccm/GHSA-958m-gxmc-mccm.json"