Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2023-28096— OpenSIPS has memory leak in cJSON lib

CVSS 4.5 · Medium EPSS 0.98% · P77
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2023-28096

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
OpenSIPS has memory leak in cJSON lib
Source: NVD (National Vulnerability Database)
Vulnerability Description
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.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
在移除最后引用时对内存的释放不恰当(内存泄露)
Source: NVD (National Vulnerability Database)
Vulnerability Title
OpenSIPS 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
OpenSIPS是OpenSIPS 个人开发者的一个 GPL 许可的 SIP 服务器实现。 OpenSIPS 2.3版本至3.2版本存在安全漏洞,该漏洞源于通过函数parse_mi_request检测到存在内存泄漏问题。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
OpenSIPSopensips >= 2.3.0, < 3.1.8 -

II. Public POCs for CVE-2023-28096

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-28096

登录查看更多情报信息。

Same Patch Batch · OpenSIPS · 2023-03-15 · 11 CVEs total

CVE-2023-275967.5 HIGHOpenSIPS has vulnerability in the codec_delete_XX() functions
CVE-2023-275977.5 HIGHOpenSIPS has vulnerability in the parse_uri() function
CVE-2023-275987.5 HIGHOpenSIPS has vulnerability in the parse_via() function
CVE-2023-275997.5 HIGHOpenSIPS has vulnerability in the parse_to_param() function
CVE-2023-276007.5 HIGHOpenSIPS has vulnerability in the codec_delete_XX() functions
CVE-2023-276017.5 HIGHOpenSIPS has vulnerability in the codec_delete_XX() functions
CVE-2023-280957.5 HIGHOpenSIPS has vulnerability in the building the local negative replies
CVE-2023-280977.5 HIGHOpenSIPS has vulnerability in the Content-Length Parser
CVE-2023-280985.9 MEDIUMOpenSIPS has vulnerability in the Digest Authentication Parser
CVE-2023-280995.9 MEDIUMOpenSIPS has vulnerability in the ds_is_in_list() function

IV. Related Vulnerabilities

V. Comments for CVE-2023-28096

No comments yet


Leave a comment