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.

Severity (CVSS 3.1)4.3Medium
Exploit odds (30 days)0.7%top 46.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12onionshare2.5-1DEBIAN-CVE-2022-21696
Debian:13onionshare2.5-1DEBIAN-CVE-2022-21696
Debian:14onionshare2.5-1DEBIAN-CVE-2022-21696
PyPIonionshare-cli2.5PYSEC-2022-47
PyPIonionshare-cli2.5GHSA-68vr-8f46-vc9f
Ubuntu:22.04:LTSonionshare2.2-3UBUNTU-CVE-2022-21696
Ubuntu:24.04:LTSonionshare2.6-6ubuntu1UBUNTU-CVE-2022-21696

Affected products (as reported)

VendorProductVersions
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