PT-2024-25927 · Open5Gs · Open5Gs
CVSS v3.1
5.3
Medium
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Name of the Vulnerable Software and Affected Versions
Open5GS versions prior to 2.7.1
Description
The issue is related to a reachable assertion that can cause an AMF crash via NAS messages from a UE. This occurs due to improper handling of the
pkbuf->len variable in the ogs nas encrypt function located in lib/nas/common/security.c.Recommendations
For versions prior to 2.7.1, upgrade to version 2.7.1 or later to resolve the issue. As a temporary workaround, consider restricting the handling of NAS messages from UEs to minimize the risk of exploitation. Audit the code for similar issues related to improper length handling to prevent future vulnerabilities.
Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Open5Gs