Application crash via unchecked SDP continuation length
Published Nov 19, 2021 · Updated Aug 4, 2024
Heap-based buffer overflow in Wireshark 3.2.0 through 3.2.17 and 3.4.0 through 3.4.9 allows remote attackers to crash the application. In packet-btsdp.c, reassemble_continuation_state passes an SDP request's unchecked, packet-derived continuation_state_length to memcpy; values above 20 overrun heap storage when the paired response retrieves the saved request. Exploitation requires a crafted request-response packet pair injected onto a captured network, or a user opening a crafted capture file, and interrupts only the analyzing process.
Summary
What happened
Heap-based buffer overflow in Wireshark 3.2.0 through 3.2.17 and 3.4.0 through 3.4.9 allows remote attackers to crash the application. In packet-btsdp.c, reassemble_continuation_state passes an SDP request's unchecked, packet-derived continuation_state_length to memcpy; values above 20 overrun heap storage when the paired response retrieves the saved request. Exploitation requires a crafted request-response packet pair injected onto a captured network, or a user opening a crafted capture file, and interrupts only the analyzing process.
The record
- CVE
- CVE-2021-39925
- Published
- Nov 19, 2021
- Updated
- Aug 4, 2024
- Vendor
- Wireshark Foundation
- Product
- Wireshark
- Classifications
- CWE-120, T1499.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Nov 19, 2021CVE publishedPublication date reported by the CVE source.
- Aug 4, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>=3.2.0, <3.2.18
- Affected versionversion=>=3.4.0, <3.4.10
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Two-packet Bluetooth SDP reproducerproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo