Skip to content

CVE-2021-44847 A stack-based buffer overflow in handle_request function in DHT.c in toxcore 0.1.9 through 0.1.11 and 0.2.0 through 0.2.12 (caused by an improper length calculation during the handling of received net...

CriticalCVSS 9.8 EPSS 4.1%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

Description

A stack-based buffer overflow in handle_request function in DHT.c in toxcore 0.1.9 through 0.1.11 and 0.2.0 through 0.2.12 (caused by an improper length calculation during the handling of received network packets) allows remote attackers to crash the process or potentially execute arbitrary code via a network packet.

Upgrade path

7 packages: 5 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/libtoxcore(Ubuntu 20.04) = 0.2.10-1build2; All versions No fix listed No fix yet
debian/libtoxcore(Debian 12) < 0.2.13-1 0.2.13-1 Fixed
debian/libtoxcore(Debian 13) < 0.2.13-1 0.2.13-1 Fixed
debian/libtoxcore(Debian 14) < 0.2.13-1 0.2.13-1 Fixed
toktok toxcore >= 0.1.9, <= 0.1.11; >= 0.2.0, <= 0.2.12 after 0.1.11, 0.2.12 Fixed
ubuntu/libtoxcore(Ubuntu 22.04) < 0.2.13-1; = 0.2.12-1; = 0.2.12-1build1 0.2.13-1 Fixed
fedoraproject fedora = 34; = 35 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/libtoxcore(Debian:12) < 0.2.13-1 0.2.13-1
debian/libtoxcore(Debian:13) < 0.2.13-1 0.2.13-1
debian/libtoxcore(Debian:14) < 0.2.13-1 0.2.13-1
ubuntu/libtoxcore(Ubuntu:22.04) < 0.2.13-1 0.2.13-1
toktok toxcore >= 0.1.9, <= 0.1.11 No fix listed
toktok toxcore >= 0.2.0, <= 0.2.12 No fix listed
fedoraproject fedora = 34 No fix listed
fedoraproject fedora = 35 No fix listed
ubuntu/libtoxcore(Ubuntu:20.04) All versions No fix listed
ubuntu/libtoxcore(Ubuntu:20.04) = 0.2.10-1build2 No fix listed
ubuntu/libtoxcore(Ubuntu:22.04) = 0.2.12-1 No fix listed
ubuntu/libtoxcore(Ubuntu:22.04) = 0.2.12-1build1 No fix listed

References