
Cloud Vulnerability DB
A community-led vulnerabilities database
A stack-based buffer overflow vulnerability (CVE-2021-44847) was discovered in the handle_request function in DHT.c in toxcore versions 0.1.9 through 0.1.11 and 0.2.0 through 0.2.12. The vulnerability is caused by an improper length calculation during the handling of received network packets (NVD).
The vulnerability stems from an improper calculation of crypto size in the handle_request function, where CRYPTO_SIZE is used in a subtraction as second argument. Due to operator precedence rules and missing braces, only '1' is subtracted instead of the intended value, leading to a stack-based buffer overflow (GitHub PR). The vulnerability has been assigned a CVSS v3.1 base score of 9.8 CRITICAL (Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) (NVD).
The vulnerability allows remote attackers to crash the process or potentially execute arbitrary code via a network packet. The high CVSS score indicates that successful exploitation could lead to complete system compromise with no special privileges or user interaction required (NVD).
The vulnerability was discovered through ASAN (Address Sanitizer) testing, which revealed a stack buffer overflow condition. While the initial discovery was made with the crypto layer patched away, the security implications were considered serious enough to warrant immediate attention (GitHub PR).
The vulnerability was fixed in toxcore version 0.2.13. Users are advised to upgrade to this version or later. The fix involves correcting the crypto size computation and adding proper braces around macro values (Fedora Update).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."