Aether Project amf: panic on an unrecovered NGAP goroutine
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| omec-projectamf | — | Not listed |
| Gogithub.com/omec-project/amf |
< 1.7.1-0.20260725031321-d28042aaaea0→ 1.7.1-0.20260725031321-d28042aaaea0 |
1.7.1-0.20260725031321-d28042aaaea0 |
Original description The description as published by the source.
Aether Project AMF supports termination of NAS signalling, NAS ciphering & integrity protection, registration management, connection management, mobility management, access authentication and authorization, security context management. Prior to 3.1.6, a malformed NGAP PathSwitchRequest can contain a UESecurityCapabilities information element whose extensible APER bit-string representation has no bytes even though decoding reports no error. In ngap/handler.go, HandlePathSwitchRequest checks only whether the element is present before six index-zero reads of its encryption and integrity algorithm fields, causing an unrecovered panic in the NGAP receive goroutine and terminating the AMF. The described attacker is a rogue or compromised gNB on the N2 interface and additionally needs a registered UE's AMF-UE-NGAP-ID; a bare over-the-air UE cannot trigger the issue. This issue is fixed in version 3.1.6.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- web github.com
- web github.com