Description
free5GC AMF provides Access & Mobility Management Function (AMF) for free5GC, an an open-source project for 5th generation (5G) mobile core networks. Prior to version 1.4.3, the `HTTPUEContextTransfer` handler in `internal/sbi/api_communication.go` does not include a `default` case in the `Content-Type` switch statement. When a request arrives with an unsupported `Content-Type`, the deserialization step is silently skipped, `err` remains `nil`, and the processor is invoked with a completely uninitialized `UeContextTransferRequest` object. Version 1.4.3 contains a fix.
Problem types
CWE-440: Expected Behavior Violation
Product status
References
github.com/...ree5gc/security/advisories/GHSA-r99v-75p9-xqm5
github.com/...ree5gc/security/advisories/GHSA-r99v-75p9-xqm5
github.com/free5gc/amf/releases/tag/v1.4.3