Vulnerability Details : CVE-2023-28096
OpenSIPS, a Session Initiation Protocol (SIP) server implementation, has a memory leak starting in the 2.3 branch and priot to versions 3.1.8 and 3.2.5. The memory leak was detected in the function `parse_mi_request` while performing coverage-guided fuzzing. This issue can be reproduced by sending multiple requests of the form `{"jsonrpc": "2.0","method": "log_le`. This malformed message was tested against an instance of OpenSIPS via FIFO transport layer and was found to increase the memory consumption over time. To abuse this memory leak, attackers need to reach the management interface (MI) which typically should only be exposed on trusted interfaces. In cases where the MI is exposed to the internet without authentication, abuse of this issue will lead to memory exhaustion which may affect the underlying system’s availability. No authentication is typically required to reproduce this issue. On the other hand, memory leaks may occur in other areas of OpenSIPS where the cJSON library is used for parsing JSON objects. The issue has been fixed in versions 3.1.8 and 3.2.5.
Products affected by CVE-2023-28096
- cpe:2.3:a:opensips:opensips:*:*:*:*:*:*:*:*
- cpe:2.3:a:opensips:opensips:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-28096
0.14%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 51 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-28096
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST | |
4.5
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:H |
0.9
|
3.6
|
GitHub, Inc. |
CWE ids for CVE-2023-28096
-
The product does not sufficiently track and release allocated memory after it has been used, which slowly consumes remaining memory.Assigned by: security-advisories@github.com (Primary)
References for CVE-2023-28096
-
https://github.com/OpenSIPS/opensips/security/advisories/GHSA-2mg2-g46r-j4qr
Memory leak in cJSON lib · Advisory · OpenSIPS/opensips · GitHubThird Party Advisory
-
https://opensips.org/pub/audit-2022/opensips-audit-technical-report-full.pdf
Vendor Advisory
-
https://github.com/OpenSIPS/opensips/commit/417568707520af25ec5c5dd91da18e6db3649dcb
cJSON: fix memory leak on object parsing error · OpenSIPS/opensips@4175687 · GitHubPatch;Third Party Advisory
Jump to