7.5 HIGH
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): None (N)
- Integrity (I): None (N)
- Availability (A): High (H)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): None (N)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): None (N)
- Modified Availability (MA): High (H)
by @LeSuisse Activity log
- Created suggestion
- @LeSuisse dismissed (not in Nixpkgs)
free5GC PCF: Memory Leak via CORS Middleware Registration in HTTP Handler Leads to Denial of Service
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.
References
-
https://github.com/free5gc/free5gc/security/advisories/GHSA-98cp-84m9-q3qp x_refsource_CONFIRM
Affected products
- ==< 1.4.3
Matching in nixpkgs
pkgs.cpcfs
Manipulating CPC dsk images and files
pkgs.bdftopcf
Converts X font from Bitmap Distribution Format to Portable Compiled Format
pkgs.xorg.bdftopcf
Converts X font from Bitmap Distribution Format to Portable Compiled Format
pkgs.libretro.beetle-pcfx
Port of Mednafen's PCFX core to libretro
-
nixos-unstable 0-unstable-2026-03-31
- nixpkgs-unstable 0-unstable-2026-03-31
- nixos-unstable-small 0-unstable-2026-03-31
-
nixos-25.11 0-unstable-2024-10-21
- nixos-25.11-small 0-unstable-2024-10-21
- nixpkgs-25.11-darwin 0-unstable-2024-10-21
pkgs.python312Packages.pcffont
Library for manipulating Portable Compiled Format (PCF) Fonts
pkgs.python313Packages.pcffont
Library for manipulating Portable Compiled Format (PCF) Fonts
pkgs.python314Packages.pcffont
Library for manipulating Portable Compiled Format (PCF) Fonts
Package maintainers
-
@hrdinka Christoph Hrdinka <c.nix@hrdinka.at>
-
@thiagokokada Thiago K. Okada <thiagokokada@gmail.com>
-
@aanderse Aaron Andersen <aaron@fosslib.net>
-
@edwtjo Edward Tjörnhammar <ed@cflags.cc>
-
@h7x4 h7x4 <h7x4@nani.wtf>
-
@TakWolf TakWolf <takwolf@foxmail.com>