CVE-2021-44847

NameCVE-2021-44847
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1001711

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libtoxcore (PTS)bullseye0.2.12-1vulnerable
bookworm0.2.18-1fixed
sid, trixie0.2.19-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libtoxcoresource(unstable)0.2.13-11001711

Notes

[bullseye] - libtoxcore <no-dsa> (Minor issue)
[buster] - libtoxcore <no-dsa> (Minor issue)
https://github.com/TokTok/c-toxcore/pull/1718
https://blog.tox.chat/2021/12/stack-based-buffer-overflow-vulnerability-in-udp-packet-handling-in-toxcore-cve-2021-44847/
Introduced by: https://github.com/TokTok/c-toxcore/commit/71260e38e8d12547b0e55916daf6cadd72f52e19 (v0.1.9)
Fixed by: https://github.com/TokTok/c-toxcore/commit/1b02bad36864fdfc36694e3f96d2dc6c58a891e4 (v0.2.13)

Search for package or bug name: Reporting problems