Vulnerability · Published Jan 18, 2022 · Assigned by GitHub_M

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

Low 3.7

In plain English

A low-severity incorrect permission assignment 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 1.3% (higher than 70% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)3.7Low
Exploit odds (30 days)1.3%top 30.3% 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. 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12onionshare2.5-1DEBIAN-CVE-2022-21694
Debian:13onionshare2.5-1DEBIAN-CVE-2022-21694
Debian:14onionshare2.5-1DEBIAN-CVE-2022-21694
PyPIonionshare-cli2.5GHSA-h29c-wcm8-883h
PyPIonionshare-cli2.5PYSEC-2022-45
Ubuntu:22.04:LTSonionshareno fix listedUBUNTU-CVE-2022-21694

Affected products (as reported)

VendorProductVersions
onionshare onionshare < 2.5

Weakness: CWE-732 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

References