CVE-2022-21696 json
Username spoofing in OnionShare
published 2022-01-18 4 y ago modified 2026-06-17 4 mo ago also GHSA-68vr-8f46-vc9f , PYSEC-2022-47 , EUVD-2022-0187
- cvss
- 4.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 53%
- 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 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.
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-21696
- python-onionshare openSUSE Tumbleweed 2.5-1.1
- python3-onionshare openSUSE Tumbleweed 2.6-4.1
opensuse advisories openSUSE-SU-2024:11983-1openSUSE-SU-2024:13635-1
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-21696 updated cvss 4.3
onionshare: improper input validation
-
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
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.71% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N |
| GitHub | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | onionshare-cli | >=2.3, <2.5 <2.5 |
2.5 |
Affected products
- onionshare onionshare
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
github.com
/onionshare/onionshare/security/advisories/GHSA-68vr-8f46-vc9f
web, third-party-advisory, advisory
-
github.com
/onionshare/onionshare/releases/tag/v2.5
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-21696
advisory
-
github.com
/onionshare/onionshare
package
-
github.com
/pypa/advisory-database/tree/main/vulns/onionshare-cli/PYSEC-2022-47.yaml
web
Sources
- CVE List CVE-2022-21696
- GitHub Advisory GHSA-68vr-8f46-vc9f
- NVD CVE-2022-21696
- OSV PYSEC-2022-47
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.