CVE-2018-10238
bvlc.c in skarg BACnet Protocol Stack bacserv 0.9.1 and 0.8.5 is affected by a Buffer Overflow because of a lack of packet-size validation.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.64%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
bvlc.c in skarg BACnet Protocol Stack bacserv 0.9.1 and 0.8.5 is affected by a Buffer Overflow because of a lack of packet-size validation. The affected component is bacserv BACnet/IP BVLC forwarded NPDU. The function bvlc_bdt_forward_npdu() calls bvlc_encode_forwarded_npdu() which copies the content from the request into a local in the bvlc_bdt_forward_npdu() stack frame and clobbers the canary. The attack vector is: A BACnet/IP device with BBMD enabled based on this library connected to IP network. The fixed version is: 0.8.6.
- CVSS 3.0
- 9.8 CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 1.64% probability · 75th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-119
- Affected
- bacnet protocol stack project/bacnet protocol stack
- Source
- cve@mitre.org
References
- https://sourceforge.net/p/bacnet/bugs/55/
- https://sourceforge.net/p/bacnet/code/3168/Patch, Third Party Advisory
- https://sourceforge.net/p/bacnet/code/3169/
- https://sourceforge.net/p/bacnet/bugs/55/
- https://sourceforge.net/p/bacnet/code/3168/Patch, Third Party Advisory
- https://sourceforge.net/p/bacnet/code/3169/
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.