CVE-2022-21689 json
Denial of Service in Onionshare
published 2022-01-18 4 y ago modified 2026-06-17 4 mo ago also GHSA-jh82-c5jw-pxpc , PYSEC-2022-40 , EUVD-2022-0180
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 71%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi onionshare-cli 2.5
- onionshare onionshare 2.5
- onionshare Debian 14, Debian 13, Debian 12 2.5-1
debian advisories DEBIAN-CVE-2022-21689
- onionshare Ubuntu Pro 20.04 LTS 2.2-1ubuntu0.1~esm1
- onionshare Ubuntu Pro 22.04 LTS 2.2-3ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2022-21689
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-21689 updated cvss 7.5
onionshare: possibility to block file upload for other users
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
1.35% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | onionshare-cli | <2.5 |
2.5 |
Affected products
- onionshare onionshare
Classification
- Weakness
-
- CWE-400 Uncontrolled Resource Consumption
References
-
github.com
/onionshare/onionshare/releases/tag/v2.5
web, release-notes, third-party-advisory
-
github.com
/onionshare/onionshare/security/advisories/GHSA-jh82-c5jw-pxpc
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-21689
advisory
-
github.com
/onionshare/onionshare
web
-
github.com
/pypa/advisory-database/tree/main/vulns/onionshare-cli/PYSEC-2022-40.yaml
web
Sources
- CVE List CVE-2022-21689
- GitHub Advisory GHSA-jh82-c5jw-pxpc
- NVD CVE-2022-21689
- OSV PYSEC-2022-40
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.