free5gc pcf
| Product | Affected | Fixed in |
|---|---|---|
| github.com/free5gc/pcf Go |
|
|
free5GC UDR is the Policy Control Function (PCF) for free5GC, an an open-source project for 5th generation (5G) mobile core networks. A memory leak vulnerability in versions prior to 1.4.3 allows any unauthenticated attacker with network access to the PCF SBI interface to cause uncontrolled memory growth by sending repeated HTTP requests to the OAM endpoint. The root cause is a `router.Use()` call inside an HTTP handler that registers a new CORS middleware on every incoming request, permanently growing the Gin router's handler chain. This leads to progressive memory exhaustion and eventual Denial of Service of the PCF, preventing all UEs from obtaining AM and SM policies and blocking 5G session establishment. Version 1.4.3 contains a patch.
From the CVE record · GitHub_M
Versions of free5GC PCF before 1.4.3 leak memory when handling HTTP requests to the OAM endpoint. An unauthenticated attacker with network access to the PCF SBI interface can send repeated requests, eventually exhausting memory and causing a denial of service that blocks 5G session establishment.
Operators and developers running github.com/free5gc/pcf versions before 1.4.3 should check their deployments.