| Título | Open5GS SGWC v2.7.6 Denial of Service |
|---|
| Descrição | 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. |
|---|
| Fonte | ⚠️ https://github.com/open5gs/open5gs/issues/4217 |
|---|
| Utilizador | LinZiyu (UID 94035) |
|---|
| Submissão | 31/12/2025 08h43 (há 3 meses) |
|---|
| Moderação | 01/01/2026 11h57 (1 day later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 339340 [Open5GS até 2.7.6 Bearer QoS IE Length lib/gtp/v2/types.c ogs_gtp2_parse_bearer_qos Negação de Serviço] |
|---|
| Pontos | 20 |
|---|