Vulnerability Information
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
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.
CVSS Information
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Vulnerability Type
空指针解引用
Vulnerability Title
LibOSDP 代码问题漏洞
Vulnerability Description
LibOSDP是goToMain开源的一个 IEC 60839-11-5 开放式监控设备协议的跨平台开源实现。旨在提高访问控制和安全产品之间的互操作性。 LibOSDP 2.4.0之前版本存在代码问题漏洞,该漏洞源于在 ospd_common.c 的 osdp_reply_name 函数中,REPLY_ACK 和 REPLY_XRD 之间的任何回复 ID 都是有效的,但名称数组并未声明整个范围。
CVSS Information
N/A
Vulnerability Type
N/A