open5gs/tests
Sukchan Lee c56ad08e00
Some checks are pending
CIFuzz / Fuzzing (push) Waiting to run
Meson Continuous Integration / Build and Test on MacOS Latest (push) Waiting to run
Meson Continuous Integration / Build and Test on Ubuntu Latest (push) Waiting to run
[NAS/MME/AMF/SGWC] Validate peer identity and PCO fields
Malformed IMEISV, IMSI, SGsAP and PCO fields could trigger
out-of-bounds accesses or assertions on peer-controlled input.

- Require a 9-octet, even-parity IMEISV before writing its 16 digits
  and terminator. Leave the output unchanged on failure and have
  MME/AMF skip storing rejected identities. Preserve the existing
  filler and digit acceptance policy.
- Check the AMF IMEISV length before reading its identity type,
  including when the received IE has zero length.
- Validate the SGWC IMSI before UE lookup, which asserts on an
  empty hash key, and reject nonpositive lengths in UE creation.
- Replace SGsAP DOWNLINK-UNITDATA assertions on received IMSI and
  NAS container fields with error logging and early returns.
- Check the original GTP PCO length against the NAS destination
  size before narrowing or copying. Omit an oversized optional
  PCO instead of failing the builder, since callers assert on
  message-build failure.
2026-10-01 09:41:18 +09:00
..
310014
af [PCF,SMF] Apply AF-requested ARP over N5 2026-09-18 11:22:23 +09:00
app [MME/EIR] Address S13 review comments 2026-09-23 11:55:14 +02:00
attach [MME/AMF] Prevent UE context corruption on identity mismatch 2026-09-10 15:38:13 +09:00
common Merge branch 'open5gs:main' into main 2026-09-23 09:12:46 +02:00
core [AMF/MME] Preserve RAN node ID indexes across association replacement 2026-09-30 16:39:27 +09:00
crypt
csfb [CSFB] Wait for S1 release before SGs paging 2026-10-01 07:25:38 +09:00
dns [mme] Follow-up #4693: harden DNS-based gateway selection 2026-07-21 16:44:07 +09:00
eir Fix SBI URI parsing and stabilize registration and EIR tests 2026-09-29 09:36:12 +09:00
fuzzing OSS-Fuzz: Add new fuzzer targets sbi request and openapi model 2026-09-23 18:30:23 +09:00
handover
non3gpp Fix Clang conversion warnings and lower hash ownership log severity 2026-09-30 21:46:23 +09:00
registration Fix SBI URI parsing and stabilize registration and EIR tests 2026-09-29 09:36:12 +09:00
sctp [CI] Re-enable macOS job and fix usrsctp PPID 2026-09-29 21:53:35 +09:00
slice [AMF/MME/SMF] Deactivate the stale user plane of a held NG context 2026-09-10 15:38:13 +09:00
transfer
unit [NAS/MME/AMF/SGWC] Validate peer identity and PCO fields 2026-10-01 09:41:18 +09:00
volte Fix Clang conversion warnings and lower hash ownership log severity 2026-09-30 21:46:23 +09:00
vonr [PCF,SMF] Apply AF-requested ARP over N5 2026-09-18 11:22:23 +09:00
meson.build [TEST] Merge tests/s13 into tests/eir 2026-09-25 15:19:38 +09:00