CVE-2024-31040 Memory corruption in n/a

Low 2.7 Published Updated

Remote attackers can cause a denial of service in NanoMQ by sending specially crafted hexstreams that trigger a buffer overflow.

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

What is CVE-2024-31040?

CVE-2024-31040 is a low-severity memory corruption vulnerability in n/a, published on 17 Apr 2024. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Buffer Overflow vulnerability in the get_var_integer function in mqtt_parser.c in NanoMQ 0.21.7 allows remote attackers to cause a denial of service via a series of specially crafted hexstreams.

Weakness: CWE-120

Which versions are affected by CVE-2024-31040?

It affects 1 product.

Products include Emqx Nanomq.

How do I fix CVE-2024-31040?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-31040 exists.

Sources

Also known as GHSA-p2wx-52q9-6mgg.

Is CVE-2024-31040 in your software?

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

Check your SBOMs for free