Description
free5GC is an open-source implementation of the 5G core network. Prior to 4.2.2, free5GC's NEF terminates the entire process when a stored PFD-subscription notifyUri cannot be reached. In PfdChangeNotifier.FlushNotifications(), the notifier calls NnefPFDmanagementNotify(...) and on any delivery error invokes logger.PFDManageLog.Fatal(err), which is os.Exit(1)-equivalent in Go. An attacker who can create a PFD subscription with an attacker-chosen notifyUri and then trigger a PFD change can deterministically kill NEF on the asynchronous delivery attempt -- the process exits with status 1, dropping NEF's entire SBI surface until restart. This vulnerability is fixed in 4.2.2.
Problem types
CWE-20: Improper Input Validation
CWE-755: Improper Handling of Exceptional Conditions
Product status
References
github.com/...ree5gc/security/advisories/GHSA-rxrq-fv76-26pr
github.com/free5gc/free5gc/issues/924
github.com/...ree5gc/security/advisories/GHSA-rxrq-fv76-26pr
github.com/free5gc/free5gc/issues/924
github.com/free5gc/nef/pull/25
github.com/...ommit/f110517b1189801950b50668a593398687049074