9.3 CRITICAL
- CVSS version (CVSS): 4.0
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Attack Requirement (AT): None (N)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Vulnerable System Impact Confidentiality (VC): High (H)
- Vulnerable System Impact Integrity (VI): High (H)
- Vulnerable System Impact Availability (VA): High (H)
- Subsequent System Impact Confidentiality (SC): None (N)
- Subsequent System Impact Integrity (SI): None (N)
- Subsequent System Impact Availability (SA): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Attack Requirement (MAT): None (N)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Vulnerable System Impact Confidentiality (MVC): High (H)
- Modified Vulnerable System Impact Integrity (MVI): High (H)
- Modified Vulnerable System Impact Availability (MVA): High (H)
- Modified Subsequent System Impact Confidentiality (MSC): Negligible (N)
- Modified Subsequent System Impact Integrity (MSI): Negligible (N)
- Modified Subsequent System Impact Availability (MSA): Negligible (N)
- Safety (S): Not Defined (X)
- Automatable (AU): Not Defined (X)
- Recovery (R): Not Defined (X)
- Value Density (V): Not Defined (X)
- Vulnerability Response Effort (RE): Not Defined (X)
- Provider Urgency (U): Not Defined (X)
- Confidentiality Req. (CR): Not Defined (X)
- Integrity Req. (IR): Not Defined (X)
- Availability Req. (AR): Not Defined (X)
- Exploit Maturity (E): Not Defined (X)
Activity log
- Created suggestion
free5GC: NRF nnrf-nfm lacks NF Profile input validation — enables NF Registration Poisoning with arbitrary service endpoints
free5GC is an open-source implementation of the 5G core network. In 4.2.2 and earlier, the NRF RegisterNFInstance handler at PUT /nnrf-nfm/v1/nf-instances/{nfInstanceID} accepts NF Profiles without enforcing UUID format, nfStatus enum values, heartBeatTimer ranges, mandatory profile fields, or nfServices.ipEndPoints address constraints. The invalid profiles are persisted in the MongoDB NfProfile collection and returned by NFDiscover, allowing an attacker with SBI access to advertise attacker-controlled network-function endpoints and redirect control-plane signaling. This can expose credentials and signaling, alter service discovery integrity, and deny service across network functions that trust the NRF. This issue is fixed in version 4.2.3.
References
-
https://github.com/free5gc/free5gc/security/advisories/GHSA-x8mj-6p3q-g5pp x_refsource_CONFIRM
-
https://github.com/free5gc/free5gc/issues/1056 x_refsource_MISC
-
https://github.com/free5gc/nrf/pull/90 x_refsource_MISC
-
https://github.com/free5gc/free5gc/releases/tag/v4.2.3 x_refsource_MISC
-
https://github.com/free5gc/nrf/releases/tag/v1.4.5 x_refsource_MISC
Affected products
- ==< 4.2.3
Matching in nixpkgs
pkgs.free5gc-amf
Open source 5G core network based on 3GPP R15
-
nixos-unstable -
- nixos-unstable-small 1.4.5
pkgs.free5gc-bsf
Open source 5G core network based on 3GPP R15
-
nixos-unstable -
- nixos-unstable-small 1.0.4
pkgs.free5gc-chf
Open source 5G core network based on 3GPP R15
-
nixos-unstable -
- nixos-unstable-small 1.2.5
pkgs.free5gc-nef
Open source 5G core network based on 3GPP R15
-
nixos-unstable -
- nixos-unstable-small 1.2.5
pkgs.free5gc-nrf
Open source 5G core network based on 3GPP R15
-
nixos-unstable -
- nixos-unstable-small 1.4.5
pkgs.free5gc-pcf
Open source 5G core network based on 3GPP R15
-
nixos-unstable -
- nixos-unstable-small 1.4.5
pkgs.free5gc-smf
Open source 5G core network based on 3GPP R15
-
nixos-unstable -
- nixos-unstable-small 1.4.5
pkgs.free5gc-udm
Open source 5G core network based on 3GPP R15
-
nixos-unstable -
- nixos-unstable-small 1.4.5
pkgs.free5gc-udr
Open source 5G core network based on 3GPP R15
-
nixos-unstable -
- nixos-unstable-small 1.4.4
pkgs.free5gc-upf
Open source 5G core network based on 3GPP R15
-
nixos-unstable -
- nixos-unstable-small 1.2.12
pkgs.free5gc-ausf
Open source 5G core network based on 3GPP R15
-
nixos-unstable -
- nixos-unstable-small 1.4.5
pkgs.free5gc-nssf
Open source 5G core network based on 3GPP R15
-
nixos-unstable -
- nixos-unstable-small 1.4.5
pkgs.free5gc-tngf
Open source 5G core network based on 3GPP R15
-
nixos-unstable -
- nixos-unstable-small 1.1.5
pkgs.free5gc-n3iwf
Open source 5G core network based on 3GPP R15
-
nixos-unstable -
- nixos-unstable-small 1.3.5
Package maintainers
-
@felbinger Nico Felbinger <nico@felbinger.eu>