OSV-2021-1568 Heap-use-after-free in MqttDecode_Props
A heap-use-after-free vulnerability in the MQTT client library allows attackers to cause denial of service or potentially execute code via crafted packets.
- Exploited in the wild
- Not known
- Login needed
- Not stated
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is OSV-2021-1568?
OSV-2021-1568 is an use after free vulnerability in wolfmqtt, published on 12 Nov 2021. It can be exploited over the network, with no action from the victim.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=40904
Crash type: Heap-use-after-free READ 1
Crash state:
MqttDecode_Props
MqttDecode_Disconnect
MqttClient_DecodePacket
Which versions are affected by OSV-2021-1568?
1 open source package ship an affected version, including wolfmqtt.
| Package | Affected | Fixed in |
|---|---|---|
wolfmqtt OSS-Fuzz | All versions | None |
How do I fix OSV-2021-1568?
No fix has been published for OSV-2021-1568 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is OSV-2021-1568 being exploited?
There is no known exploitation of OSV-2021-1568 in the wild and no public exploit code.