Vulnerability · Published Jan 18, 2022 · Assigned by GitHub_M
CVE-2022-21696Username spoofing in OnionShare
Medium 4.3
In plain English
A medium-severity improper input validation in onionshare from onionshare. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 it is possible to change the username to that of another chat participant with an additional space character at the end of the name string. An adversary with access to the chat environment can use the rename feature to impersonate other participants by adding whitespace characters at the end of the username.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | onionshare | 2.5-1 | DEBIAN-CVE-2022-21696 |
| Debian:13 | onionshare | 2.5-1 | DEBIAN-CVE-2022-21696 |
| Debian:14 | onionshare | 2.5-1 | DEBIAN-CVE-2022-21696 |
| PyPI | onionshare-cli | 2.5 | PYSEC-2022-47 |
| PyPI | onionshare-cli | 2.5 | GHSA-68vr-8f46-vc9f |
| Ubuntu:22.04:LTS | onionshare | 2.2-3 | UBUNTU-CVE-2022-21696 |
| Ubuntu:24.04:LTS | onionshare | 2.6-6ubuntu1 | UBUNTU-CVE-2022-21696 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| onionshare | onionshare | < 2.5 |
Weakness: CWE-20 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
References
- https://github.com/onionshare/onionshare/security/advisories/GHSA-68vr-8f46-vc9f x_refsource_CONFIRM
- https://github.com/onionshare/onionshare/releases/tag/v2.5 x_refsource_MISC