| 标题 | Open5GS SGWC v2.7.6 Denial of Service |
|---|
| 描述 | Open5GS SGW-C crashes when processing a GTPv2 Create Session Request containing a malformed Bearer QoS Information Element (IE) within the "Bearer Contexts to be Created" grouped IE.
The issue occurs because the SGW-C handler passes the Bearer QoS IE to the library function ogs_gtp2_parse_bearer_qos without first validating that the IE length matches the expected fixed length for this type. The library function contains a hard assertion that triggers if the length is incorrect, leading to an immediate process abort.
Assert location: lib/gtp/v2/types.c:34 (inside ogs_gtp2_parse_bearer_qos)
Fatal log example: [gtp] FATAL: ogs_gtp2_parse_bearer_qos: Assertion octet->len == GTP2_BEARER_QOS_LEN failed. |
|---|
| 来源 | ⚠️ https://github.com/open5gs/open5gs/issues/4217 |
|---|
| 用户 | LinZiyu (UID 94035) |
|---|
| 提交 | 2025-12-31 08時43分 (9 月前) |
|---|
| 管理 | 2026-01-01 11時57分 (1 day later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 339340 [Open5GS 直到 2.7.6 Bearer QoS IE Length lib/gtp/v2/types.c ogs_gtp2_parse_bearer_qos 拒绝服务] |
|---|
| 积分 | 20 |
|---|