CVE-2021-45936: wolfSSL wolfMQTT - Buffer Overflow
- Cve: CVE-2021-45936
- Name: wolfSSL wolfMQTT - Buffer Overflow
- Description: wolfSSL wolfMQTT 1.9 has a heap-based buffer overflow in MqttDecode_Disconnect (called from MqttClient_DecodePacket and MqttClient_WaitType).
- Impact: Attackers can cause arbitrary code execution or denial of service by exploiting the buffer overflow.
- Remediation: Update to the latest version of wolfSSL wolfMQTT where the issue is fixed.
- Vulnerability type: buffer_overflow
- Vulnerability impact: remote_code_execution, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.5
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Epss score: 0.00917
- Epss percentile: 0.61107
- Assignee: [email protected]
- Published at: 2022-01-01T01:15:08Z
- Age in days: 1788
- Modified at: 2026-06-17T04:14:16Z
- Patch available: yes
- Public exploits total: 2
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-45936
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-787 | Out-of-bounds Write |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=39053 | nvd | 2022-01-01 |
| https://github.com/google/oss-fuzz-vulns/blob/main/vulns/wolfmqtt/OSV-2021-1348.yaml | nvd | 2022-01-01 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/wolfSSL/wolfMQTT/commit/84d4b53122e0fa0280c7872350b89d5777dabbb2 | Patch, Third Party Advisory |
| https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=39053 | Exploit, Issue Tracking, Third Party Advisory |
| https://github.com/google/oss-fuzz-vulns/blob/main/vulns/wolfmqtt/OSV-2021-1348.yaml | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| wolfssl:wolfmqtt | = 1.9 | no | nvd | /v1/products/wolfssl/wolfmqtt |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| wolfSSL/wolfMQTT | commit | yes | /v1/repositories/wolfSSL/wolfMQTT |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2022-01-01
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts