BACnet Stack
cpe:2.3:a:bacnetstack:bacnet_stack:*:*:*:*:*:*:*
- 1.5.0
- ~1.4
A length underflow vulnerability has been identified in the BACnet Stack library, specifically in versions prior to 1.5.0rc4 and 1.4.3rc2. The issue arises in the WriteProperty request handling, where the decoder fails to properly validate the length of the APDU. This flaw allows for a malformed or truncated APDU to cause an underflow, leading to an out-of-bounds read and a subsequent crash, causing a denial-of-service condition.
Exploitation of this vulnerability causes a process crash, leading to a denial-of-service condition.
The vulnerability can be reproduced by sending a malformed WriteProperty request that truncates the APDU. This can be done using a crafted BACnet message that exploits the length validation flaw in the 'wp_decode_service_request' function.
Users can upgrade to BACnet Stack versions 1.5.0rc4 or 1.4.3rc2, where this vulnerability has been fixed.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.