提交 #867117: Open5GS v2.7.2 Memory Corruption信息

标题Open5GS v2.7.2 Memory Corruption
描述Open5GS v2.7.2 is affected by a stack-based buffer overflow in open5gs-pcrfd over the Diameter Rx interface. The vulnerability exists in the handling of Diameter AA-Request (AAR) messages in src/pcrf/pcrf-rx-path.c. When open5gs-pcrfd processes a crafted Rx AAR message containing excessive Media-Component-Description or Media-Sub-Component AVPs, the indexes rx_message.ims_data.num_of_media_component and media_component->num_of_sub can overflow. These indexes are then used to select entries in fixed-size stack-based arrays without sufficient bounds checking. As a result, a crafted Diameter Rx message can move a write pointer outside the intended stack object and overwrite stack memory with attacker-controlled 4-byte values. An attacker with network access to the Diameter Rx listener can send a crafted AAR message to trigger stack memory corruption in open5gs-pcrfd. This may result in process termination and denial of service, and may have additional impact depending on build configuration and runtime protections.
来源⚠️ https://github.com/open5gs/open5gs/issues/3157
用户
 WeiYi (UID 96864)
提交2026-06-24 08時47分 (2 月前)
管理2026-08-09 19時50分 (2 months later)
状态已接受
VulDB条目387282 [Open5GS 直到 2.7.1 Diameter Rx src/pcrf/pcrf-rx-path.c pcrf_rx_aar_cb num_of_media_component/num_of_sub 内存损坏]
积分20

Do you want to use VulDB in your project?

Use the official API to access entries easily!