Infinite Loop Vulnerability in Snowflake Package Due to Pion DTLS Implementation
Summary
DEBIAN-CVE-2022-29190: Pion DTLS is a Go implementation of Datagram Transport Layer Security. Affects snowflake versions < 2.2.0-1. Fixed in 2.2.0-1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Snowflake package is a tool designed to facilitate circumvention of network restrictions by using WebRTC technology. It allows users to connect to the internet freely and securely. However, the package relies on the Pion DTLS library for secure communication, which has a known vulnerability that can lead to an infinite loop when processing certain packets.
Vulnerability Detail
The vulnerability arises from a flaw in the Pion DTLS implementation prior to version 2.1.4. An attacker can exploit this flaw by sending specially crafted packets that cause the library to enter an infinite loop, potentially leading to denial of service. This vulnerability can disrupt the normal operation of applications relying on the Snowflake package, making them unresponsive.
How To Fix
Minimum fixed version
2.2.0-1
This is the first release that contains the fix.
sudo apt-get install --only-upgrade snowflake
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
Currently, there are no known workarounds available for this vulnerability. The best course of action is to update to the patched version as soon as it is feasible.
Conclusion
The Snowflake package has a critical vulnerability due to the Pion DTLS implementation that can lead to an infinite loop, causing denial of service. Users are strongly advised to update to the patched version 2.2.0-1 to mitigate this risk. Regular monitoring for vulnerabilities using tools like Vulert can enhance your application's security posture.
See every vulnerability recorded for snowflake →
FAQ
The vulnerability is an infinite loop issue in the Pion DTLS library that can be exploited by attackers to disrupt service.
You can check if your application is affected by using the Vulert playground at Vulert Scanner, which allows you to monitor for open-source vulnerabilities without needing to sign up.
The primary consequence is a denial of service, where the application may become unresponsive due to the infinite loop triggered by malicious packets.
Yes, the vulnerability has been patched in version 2.2.0-1 of the Snowflake package. It is recommended to update to this version.
Vulert is a service that monitors and alerts for open-source vulnerabilities in your software using just a manifest file like package-lock.json. It helps ensure your applications remain secure.
References
Related vulnerabilities
Recent vulnerabilities recorded for snowflake.