PT-2020-10759 · Pion · Pion Dtls

Published

2020-04-19

·

Updated

2021-06-29

·

CVE-2019-20786

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Pion DTLS versions prior to 1.5.2
Description The issue allows remote attackers to inject arbitrary unencrypted data after handshake completion due to a lack of check for application data with epoch 0 in the handleIncomingPacket function. This is caused by improper verification of packets, resulting in unencrypted packets containing application data being accepted after the initial handshake. An attacker can exploit this to inject arbitrary data, which the client or server believes was encrypted, despite not knowing the session key.
Recommendations For Pion DTLS versions prior to 1.5.2, update to version 1.5.2 or later to resolve the issue. As a temporary workaround, consider implementing additional packet verification measures to prevent the acceptance of unencrypted packets after the initial handshake. Restrict access to sensitive data and functions that rely on encrypted communication to minimize the risk of exploitation.

Exploit

Fix

Improper Authentication

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2019-20786
GHSA-7GFG-6934-MQQ2
GO-2020-0038

Affected Products

Pion Dtls