Submit #728043: Open5GS SGWC v2.7.6 Denial of Serviceinfo

TitelOpen5GS SGWC v2.7.6 Denial of Service
BeschreibungOpen5GS 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.
Quelle⚠️ https://github.com/open5gs/open5gs/issues/4217
Benutzer
 LinZiyu (UID 94035)
Einreichung31.12.2025 08:43 (vor 3 Monaten)
Moderieren01.01.2026 11:57 (1 day later)
StatusAkzeptiert
VulDB Eintrag339340 [Open5GS bis 2.7.6 Bearer QoS IE Length lib/gtp/v2/types.c ogs_gtp2_parse_bearer_qos Denial of Service]
Punkte20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!