| Título | Open5GS SGWC v2.7.6 Denial of Service |
|---|
| Descripción | 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. |
|---|
| Fuente | ⚠️ https://github.com/open5gs/open5gs/issues/4217 |
|---|
| Usuario | LinZiyu (UID 94035) |
|---|
| Sumisión | 2025-12-31 08:43 (hace 3 meses) |
|---|
| Moderación | 2026-01-01 11:57 (1 day later) |
|---|
| Estado | Aceptado |
|---|
| Entrada de VulDB | 339340 [Open5GS hasta 2.7.6 Bearer QoS IE Length lib/gtp/v2/types.c ogs_gtp2_parse_bearer_qos denegación de servicio] |
|---|
| Puntos | 20 |
|---|