ID CVE-2022-21688
Summary OnionShare is an open source tool that lets you securely and anonymously share files, host websites, and chat with friends using the Tor network. Affected versions of the desktop application were found to be vulnerable to denial of service via an undisclosed vulnerability in the QT image parsing. Roughly 20 bytes lead to 2GB memory consumption and this can be triggered multiple times. To be abused, this vulnerability requires rendering in the history tab, so some user interaction is required. An adversary with knowledge of the Onion service address in public mode or with authentication in private mode can perform a Denial of Service attack, which quickly results in out-of-memory for the server. This requires the desktop application with rendered history, therefore the impact is only elevated. This issue has been patched in version 2.5.
References
Vulnerable Configurations
  • cpe:2.3:a:onionshare:onionshare:0.2:*:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:0.2:*:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:0.3:*:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:0.3:*:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:0.4:*:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:0.4:*:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:0.5:*:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:0.5:*:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:0.6:*:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:0.6:*:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:0.7:*:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:0.7:*:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:0.7.1:*:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:0.7.1:*:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:0.8:*:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:0.8:*:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:0.8.1:*:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:0.8.1:*:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:0.9:*:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:0.9:*:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:0.9.1:*:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:0.9.1:*:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:0.9.2:*:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:0.9.2:*:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:1.0:-:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:1.0:-:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:1.0:dev1:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:1.0:dev1:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:1.1:-:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:1.1:-:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:1.1:dev1:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:1.1:dev1:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:1.1:dev2:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:1.1:dev2:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:1.2:*:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:1.2:*:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:1.3:*:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:1.3:*:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:1.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:1.3.1:*:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:1.3.2:*:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:1.3.2:*:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:2.0:-:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:2.0:-:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:2.0:dev1:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:2.0:dev1:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:2.0:dev2:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:2.0:dev2:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:2.0:dev3:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:2.0:dev3:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:2.1:-:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:2.1:-:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:2.1:dev1:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:2.1:dev1:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:2.2:-:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:2.2:-:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:2.2:dev1:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:2.2:dev1:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:2.3:-:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:2.3:-:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:2.3:dev1:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:2.3:dev1:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:2.3:dev2:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:2.3:dev2:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:2.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:2.3.1:*:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:2.3.2:-:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:2.3.2:-:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:2.3.2:dev1:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:2.3.2:dev1:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:2.3.3:*:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:2.3.3:*:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:2.4:-:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:2.4:-:*:*:*:*:*:*
  • cpe:2.3:a:onionshare:onionshare:2.4:dev1:*:*:*:*:*:*
    cpe:2.3:a:onionshare:onionshare:2.4:dev1:*:*:*:*:*:*
CVSS
Base: 4.3 (as of 25-01-2022 - 20:27)
Impact:
Exploitability:
CWE CWE-125
CAPEC
  • Infiltration of Hardware Development Environment
    An attacker, leveraging the ability to manipulate components of primary support systems and tools within the development and production environments, inserts malicious software within the hardware and/or firmware development environment. The infiltration purpose is to alter developed hardware components in a system destined for deployment at the victim's organization, for the purpose of disruption or further compromise.
  • Overread Buffers
    An adversary attacks a target by providing input that causes an application to read beyond the boundary of a defined buffer. This typically occurs when a value influencing where to start or stop reading is set to reflect positions outside of the valid memory location of the buffer. This type of attack may result in exposure of sensitive information, a system crash, or arbitrary code execution.
Access
VectorComplexityAuthentication
NETWORK MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
NONE NONE PARTIAL
cvss-vector via4 AV:N/AC:M/Au:N/C:N/I:N/A:P
Last major update 25-01-2022 - 20:27
Published 18-01-2022 - 22:15
Last modified 25-01-2022 - 20:27
Back to Top