Skip to content

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

MediumCVSS 5.3 EPSS 1.3%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

7 packages: 5 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/onionshare(Ubuntu 22.04) = 2.2-3; All versions No fix listed No fix yet
ubuntu/onionshare(Ubuntu Pro 20.04) = 2.1-1; = 2.2-1; = 2.2-1ubuntu0.1~esm1; All versions No fix listed No fix yet
debian/onionshare(Debian 12) < 2.5-1 2.5-1 Fixed
debian/onionshare(Debian 13) < 2.5-1 2.5-1 Fixed
debian/onionshare(Debian 14) < 2.5-1 2.5-1 Fixed
onionshare < 2.5; = < 2.5 2.5 Fixed
pypi onionshare-cli(PyPI) < 2.5; = 2.3; = 2.3.1; = 2.3.2 +2 more 2.5 Fixed

Affected products

ProductAffected versionsFixed in
pypi onionshare-cli(PyPI) >= 2.2, < 2.5 2.5
pypi onionshare-cli(PyPI) = 2.3 No fix listed
pypi onionshare-cli(PyPI) = 2.3.1 No fix listed
pypi onionshare-cli(PyPI) = 2.3.2 No fix listed
pypi onionshare-cli(PyPI) = 2.3.3 No fix listed
pypi onionshare-cli(PyPI) < 2.5 2.5
onionshare = < 2.5 No fix listed
ubuntu/onionshare(Ubuntu:22.04) All versions No fix listed
onionshare < 2.5 2.5
debian/onionshare(Debian:12) < 2.5-1 2.5-1
debian/onionshare(Debian:14) < 2.5-1 2.5-1
debian/onionshare(Debian:13) < 2.5-1 2.5-1
ubuntu/onionshare(Ubuntu:Pro:20.04) All versions No fix listed
ubuntu/onionshare(Ubuntu:Pro:20.04) = 2.1-1 No fix listed
ubuntu/onionshare(Ubuntu:Pro:20.04) = 2.2-1 No fix listed
ubuntu/onionshare(Ubuntu:Pro:20.04) = 2.2-1ubuntu0.1~esm1 No fix listed
ubuntu/onionshare(Ubuntu:22.04) = 2.2-3 No fix listed

References