CVE-2018-10238 Memory corruption in n/a

Critical 9.8 Published Updated

A buffer overflow in the BACnet protocol stack allows remote code execution on devices with BBMD enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2018-10238?

CVE-2018-10238 is a critical memory corruption vulnerability in n/a, published on 20 Apr 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-119

Which versions are affected by CVE-2018-10238?

It affects 1 product.

Products include Bacnet Protocol Stack Project Bacnet Protocol Stack.

How do I fix CVE-2018-10238?

No fix has been published for CVE-2018-10238 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2018-10238 being exploited?

There is no known exploitation of CVE-2018-10238 in the wild and no public exploit code.

Sources

Also known as GHSA-433c-j67w-mcg5.

Is CVE-2018-10238 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free