CVE-2022-39063: High severity open5gs vulnerability
When Open5GS UPF receives a PFCP Session Establishment Request, it stores related values for building the PFCP Session Establishment Response. Once UPF receives a request, it gets the fteidlen from incoming message, and then uses it to copy data from incoming message to struct fteid without checking the maximum length. If the pdi.localfteid.len exceeds the maximum length of the struct of fteid, the memcpy() overwrites the fields (e.g., fteidlen) after fteid in the pdr struct. After parsing the request, the UPF starts to build a response. The fteidlen with its overwritten value is used as a length for memcpy(). A segmentation fault occurs, as a result of a memcpy(), if this overwritten value is large enough.
Affected Software
Event History
Frequently Asked Questions
What is CVE-2022-39063?
CVE-2022-39063 is a vulnerability found in Open5GS UPF version 2.4.9 and earlier.
What is the severity of CVE-2022-39063?
CVE-2022-39063 has a severity rating of 7.5, which is considered high.
How does CVE-2022-39063 affect Open5GS?
CVE-2022-39063 affects Open5GS UPF version 2.4.9 and earlier.
What is the impact of CVE-2022-39063?
CVE-2022-39063 allows an attacker to build a response using unchecked data, which can lead to unauthorized access or other security vulnerabilities.
Is there a fix for CVE-2022-39063?
Yes, upgrading to a version of Open5GS UPF that is later than 2.4.9 will fix the vulnerability.