CVE-2022-1068 Modbus Tools Modbus Slave Stack-Based Buffer Overflow

Medium 5.5 Published Updated

A stack-based buffer overflow in Modbus Slave allows attackers to crash the application via a long registration string, impacting industrial control system availability.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2022-1068?

CVE-2022-1068 is a medium-severity memory corruption vulnerability in Modbus Slave, published on 1 Apr 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Modbus Tools Modbus Slave (versions 7.4.2 and prior) is vulnerable to a stack-based buffer overflow in the registration field. This may cause the program to crash when a long character string is used.

Weakness: CWE-787, CWE-121

Which versions are affected by CVE-2022-1068?

It affects 1 product.

Products include Modbustools Modbus Slave.

How do I fix CVE-2022-1068?

No fix has been published for CVE-2022-1068 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-2022-1068 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-23h3-jvqq-m7vh.

Is CVE-2022-1068 in your software?

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

Check your SBOMs for free