An issue exists where the software trusts the `xapp id` field from E42 message payloads without binding it to the sender's SCTP association. The validation function `valid xapp id()` only verifies that the value is within the assigned range. A remote unauthenticated attacker can impersonate any xApp by specifying a target `xapp id` in requests sent to the iApp endpoint on port 36422. This leads to responses being misrouted to the victim xApp, which can cause the victim xApp, the RIC, or the iApp to crash due to state inconsistencies in the red-black tree data structure, a self-balancing binary search tree used for efficient data storage and retrieval.