CVE-2022-21689
Denial of Service in Onionshare
Reported by github_m · Published January 18, 2022
onionshare-cli is fixed in 2.5 (PyPI)
OnionShare is an open source tool that lets you securely and anonymously share files, host websites, and chat with friends using the Tor network. In affected versions the receive mode limits concurrent uploads to 100 per second and blocks other uploads in the same second, which can be triggered by a simple script. An adversary with access to the receive mode can block file upload for others. There is no way to block this attack in public mode due to the anonymity properties of the tor network.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| onionshare-cli | PyPI | 2.5 |
| onionshare | onionshare | 2.5 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| onionshare | onionshare | < 2.5 |
| PyPI | onionshare-cli | 0 |
| onionshare | onionshare | 0 |
Timeline
- Jan 18, 2022 CVE Published
- Feb 8, 2022 EPSS Score (30 in total, the first dated here)
- Mar 9, 2026 Security Advisory
- Jun 17, 2026 CVE Updated
- Jul 7, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-21689
vulnetix vdb fixes CVE-2022-21689
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-21689/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2022-21689 advisory
- https://github.com/advisories/GHSA-jh82-c5jw-pxpc advisory
- https://github.com/onionshare/onionshare url
- https://github.com/pypa/advisory-database/tree/main/vulns/onionshare-cli/PYSEC-2022-40.yaml advisory