Vulnerabilities · 2022 · Onionshare
CVE-2022-21688
Onionshare vulnerability
OnionShare is an open source tool that lets you securely and anonymously share files, host websites, and chat with friends using the Tor network. Affected versions of the desktop application were found to be vulnerable to denial of service via an undisclosed vulnerability in the QT image parsing. Roughly 20 bytes lead to 2GB memory consumption and this can be triggered multiple times. To be abused, this vulnerability requires rendering in the history tab, so some user interaction is required. An adversary with knowledge of the Onion service address in public mode or with authentication in private mode can perform a Denial of Service attack, which quickly results in out-of-memory for the server. This requires the desktop application with rendered history, therefore the impact is only elevated. This issue has been patched in version 2.5.
Affected products
Onionshare. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Onionshare runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/onionshare/onionshare/releases/tag/v2.5 · Third Party Advisory
- github.com/onionshare/onionshare/security/advisories/GHSA-x7wr-283h-5h2v · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-21688
- github.com/pypa/advisory-database/tree/main/vulns/onionshare-cli/PYSEC-2022-39.yaml
- github.com/advisories/GHSA-x7wr-283h-5h2v
- nvd.nist.gov/vuln/detail/CVE-2022-21688
- cve.org/CVERecord?id=CVE-2022-21688
More vulnerabilities in Onionshare products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.