Skip to content
OpenAdvisories
Low · 3.7 CVE-2022-21694 EUVD-2022-0185GHSA-h29c-wcm8-883hPYSEC-2022-45

OTF-006: Broken Website Hardening Control: The CSP can be turned on or off but not configured for the specific needs of the website

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. The website mode of the onionshare allows to use a hardened CSP, which will block any scripts and external resources. It is not possible to configure this CSP for individual pages and therefore the security enhancement cannot be used for websites using javascript or external resources like fonts or images.

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
Ubuntu 22.04 LTS onionshare No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS onionshare No fix yet —
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.2, < 2.5 2.5 GHSA-h29c-wcm8-883h
PyPI onionshare-cli < 2.5 2.5 PYSEC-2022-45

Advisories 2

References