Use After Free Affecting emqx/nanomq package, versions [,0.17.8)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.11% (45th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-EMQXNANOMQ-5672434
  • published8 Jun 2023
  • disclosed8 Jun 2023
  • creditZuoYuanP

Introduced: 8 Jun 2023

CVE-2023-33657  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade emqx/nanomq to version 0.17.8 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free via the nni_mqtt_msg_get_publish_property() function in the mqtt_msg.c file. This vulnerability is caused by improper data tracing, and an attacker could exploit it to cause a denial of service attack.

CVSS Scores

version 3.1