Show plain JSON{"configurations": [{"nodes": [{"cpeMatch": [{"criteria": "cpe:2.3:a:open5gs:open5gs:*:*:*:*:*:*:*:*", "matchCriteriaId": "A9B26E94-388C-44FD-ABE2-E2DFBF3BD1C3", "versionEndIncluding": "2.4.9", "vulnerable": true}], "negate": false, "operator": "OR"}]}], "descriptions": [{"lang": "en", "value": "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 f_teid_len from incoming message, and then uses it to copy data from incoming message to struct f_teid without checking the maximum length. If the pdi.local_f_teid.len exceeds the maximum length of the struct of f_teid, the memcpy() overwrites the fields (e.g., f_teid_len) after f_teid in the pdr struct. After parsing the request, the UPF starts to build a response. The f_teid_len 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."}, {"lang": "es", "value": "Cuando Open5GS UPF recibe una petici\u00f3n de establecimiento de sesi\u00f3n PFCP, almacena los valores relacionados para construir la respuesta de establecimiento de sesi\u00f3n PFCP. Una vez que UPF recibe una petici\u00f3n, obtiene el f_teid_len del mensaje entrante, y luego lo usa para copiar los datos del mensaje entrante a la estructura f_teid sin comprobar la longitud m\u00e1xima. Si pdi.local_f_teid.len supera la longitud m\u00e1xima de la struct de f_teid, memcpy() sobrescribe los campos (por ejemplo, f_teid_len) despu\u00e9s de f_teid en la struct de pdr. Despu\u00e9s de analizar la petici\u00f3n, la UPF comienza a construir una respuesta. El f_teid_len con su valor sobrescrito es usado como longitud para memcpy(). Es producido un fallo de segmentaci\u00f3n, como resultado de una memcpy(), si este valor sobrescrito es lo suficientemente grande"}], "id": "CVE-2022-39063", "lastModified": "2024-11-21T07:17:28.977", "metrics": {"cvssMetricV31": [{"cvssData": {"attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 7.5, "baseSeverity": "HIGH", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "version": "3.1"}, "exploitabilityScore": 3.9, "impactScore": 3.6, "source": "nvd@nist.gov", "type": "Primary"}]}, "published": "2022-09-16T19:15:10.030", "references": [{"source": "disclosure@synopsys.com", "tags": ["Exploit", "Third Party Advisory"], "url": "https://www.synopsys.com/blogs/software-security/cyrc-advisory-open5gs/"}, {"source": "af854a3a-2127-422b-91ae-364da2661108", "tags": ["Exploit", "Third Party Advisory"], "url": "https://www.synopsys.com/blogs/software-security/cyrc-advisory-open5gs/"}], "sourceIdentifier": "disclosure@synopsys.com", "vulnStatus": "Modified", "weaknesses": [{"description": [{"lang": "en", "value": "CWE-676"}], "source": "disclosure@synopsys.com", "type": "Secondary"}, {"description": [{"lang": "en", "value": "NVD-CWE-noinfo"}], "source": "nvd@nist.gov", "type": "Primary"}]}