Skip to content
OpenAdvisories
Medium · 4.3 CVE-2022-21696 EUVD-2022-0187GHSA-68vr-8f46-vc9fPYSEC-2022-47

Username spoofing in OnionShare

Published Jan 18, 2022 · Updated Apr 23, 2025 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
onionshare onionshare < 2.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 onionshare 2.5-1 —
Debian 13 onionshare 2.5-1 —
Debian 12 onionshare 2.5-1 —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-onionshare 2.5-1.1 openSUSE-SU-2024:11983-1
openSUSE Tumbleweed python3-onionshare 2.6-4.1 openSUSE-SU-2024:13635-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI onionshare-cli >= 2.3, < 2.5 2.5 GHSA-68vr-8f46-vc9f
PyPI onionshare-cli < 2.5 2.5 PYSEC-2022-47

Advisories 2

References