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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2024-52296— libosdp has a null pointer deref in osdp_reply_name

Quick assessment

Affected
goToMain libosdp
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

LibOSDP是goToMain开源的一个 IEC 60839-11-5 开放式监控设备协议的跨平台开源实现。旨在提高访问控制和安全产品之间的互操作性。 LibOSDP 2.4.0之前版本存在代码问题漏洞,该漏洞源于在 ospd_common.c 的 osdp_reply_name 函数中,REPLY_ACK 和 REPLY_XRD 之间的任何回复 ID 都是有效的,但名称数组并未声明整个范围。

CVSS 6.5 · Medium EPSS 0.35% · P27

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-52296

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
libosdp has a null pointer deref in osdp_reply_name
Source: CVE Program / CVE List V5
Vulnerability Description
libosdp is an implementation of IEC 60839-11-5 OSDP (Open Supervised Device Protocol) and provides a C library with support for C++, Rust and Python3. At ospd_common.c, on the osdp_reply_name function, any reply id between REPLY_ACK and REPLY_XRD is valid, but names array do not declare all of the range. On a case of an undefined reply id within the range, name will be null (name = names[reply_id - REPLY_ACK];). Null name will casue a crash on next line: if (name[0] == '\0') as null[0] is invalid. As this logic is not limited to a secure connection, attacker may trigger this vulnerability without any prior knowledge. This issue is fixed in 2.4.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
空指针解引用
Source: CVE Program / CVE List V5
Vulnerability Title
LibOSDP 代码问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
LibOSDP是goToMain开源的一个 IEC 60839-11-5 开放式监控设备协议的跨平台开源实现。旨在提高访问控制和安全产品之间的互操作性。 LibOSDP 2.4.0之前版本存在代码问题漏洞,该漏洞源于在 ospd_common.c 的 osdp_reply_name 函数中,REPLY_ACK 和 REPLY_XRD 之间的任何回复 ID 都是有效的,但名称数组并未声明整个范围。
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

Vendor Product Affected Versions CPE Subscribe
goToMain libosdp < 2.4.0 -

II. Public POCs for CVE-2024-52296

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-52296

登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2024-52296

No comments yet


Leave a comment