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
BACnet Stack: Undefined-behavior signed left shift in `decode_signed32()`
Vulnerability Description
BACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to 1.4.3, decode_signed32() in src/bacnet/bacint.c reconstructs a 32-bit signed integer from four APDU bytes using signed left shifts. When any of the four bytes has bit 7 set (value ≥ 0x80), the left-shift operation overflows a signed int32_t, which is undefined behavior per the C standard. This is flagged thousands of times per minute by UndefinedBehaviorSanitizer on any BACnet input containing signed-integer property values with high-bit-set bytes. This vulnerability is fixed in 1.4.3.
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Vulnerability Type
依赖未定义、未指明或实现定义的行为
Vulnerability Title
BACnet Stack 安全漏洞
Vulnerability Description
BACnet Stack是BACnet Stack开源的一个适用于嵌入式系统、Linux、MacOS、BSD 和 Windows 的 BACnet 开源协议栈 C 库。 BACnet Stack 1.4.3之前版本存在安全漏洞,该漏洞源于src/bacnet/bacint.c中的decode_signed32函数使用有符号左移从四个APDU字节重构32位有符号整数时,当任何字节的第7位被设置时,左移操作会导致有符号int32_t溢出,这是未定义行为。
CVSS Information
N/A
Vulnerability Type
N/A