Bug 2033018 (CVE-2021-44847) - CVE-2021-44847 toxcore: stack-based buffer overflow in handle_request() in DHT.c
Summary: CVE-2021-44847 toxcore: stack-based buffer overflow in handle_request() in DHT.c
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2021-44847
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2033019
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-15 17:44 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-12-15 18:26 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-15 18:26:03 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2021-12-15 17:44:11 UTC
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.

Reference:
https://blog.tox.chat/2021/12/stack-based-buffer-overflow-vulnerability-in-udp-packet-handling-in-toxcore-cve-2021-44847/

Upstream patch:
https://github.com/TokTok/c-toxcore/pull/1718

Comment 1 Guilherme de Almeida Suckevicz 2021-12-15 17:44:23 UTC
Created toxcore tracking bugs for this issue:

Affects: fedora-all [bug 2033019]

Comment 2 Product Security DevOps Team 2021-12-15 18:26:01 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.