CVE-2022-21696
MEDIUM 4.3CVSS 3.1Username spoofing in OnionShare
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.
- Published
- 18 Jan 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-68vr-8f46-vc9fPYSEC-2022-47
- Sources
- NVDJSONOSV GHSA-68vr-8f46-vc9fJSONOSV PYSEC-2022-47JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | onionshare | onionsharecpe:2.3:a:onionshare:onionshare:*:*:*:*:*:*:*:* |
< 2.5 | 2.5 |
| OSV | PyPI | onionshare-cli | >= 2.3, < 2.5 | 2.5 |
| OSV | PyPI | onionshare-cli | < 2.5 | 2.5 |
References
- https://github.com/onionshare/onionshare/releases/tag/v2.5 · Release Notes, Third Party Advisory, WEB
- https://github.com/onionshare/onionshare/security/advisories/GHSA-68vr-8f46-vc9f · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2022-21696 · ADVISORY
- https://github.com/onionshare/onionshare · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/onionshare-cli/PYSEC-2022-47.yaml · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 18 Jan 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 18 Jan 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 21 Jan 2022)