Skip to content
OpenAdvisories
Unscored CVE-2021-44847 EUVD-2021-31650GHSA-62pr-4hg6-fwph

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 im…

Published Dec 13, 2021 · Updated Aug 4, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libtoxcore 0.2.13-1 —
Debian 13 libtoxcore 0.2.13-1 —
Debian 12 libtoxcore 0.2.13-1 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS libtoxcore 0.2.13-1 —
Ubuntu 20.04 LTS libtoxcore No fix yet —
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP3 c-toxcore 0.2.13-bp153.2.3.1 openSUSE-SU-2021:1640-1
SUSE Package Hub 15 SP2 c-toxcore 0.2.13-bp153.2.3.1 openSUSE-SU-2021:1640-1
SUSE Package Hub 15 SP1 c-toxcore 0.2.13-bp153.2.3.1 openSUSE-SU-2021:1640-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed qtox 1.17.4-1.1 openSUSE-SU-2024:11846-1
openSUSE Leap 15.3 c-toxcore 0.2.13-bp153.2.3.1 openSUSE-SU-2021:1640-1
openSUSE Leap 15.2 c-toxcore 0.2.13-bp153.2.3.1 openSUSE-SU-2021:1640-1

Advisories 2

References