p PatchFirst

CVE-2022-21688

CVE-2022-21688 · Out-of-bounds Read in Onionshare

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 7.5 · High · EPSS 0.9% · Fix available

Published
Updated

Stack: system · python

Affected products and versions

  • onionshare

    Versions
    • < 2.5: Affected

    No fix published

  • onionshare-cli PyPI

    Versions
    • 2.3
    • 2.3.1
    • 2.3.2
    • 2.3.3
    Affected ranges
    • ECOSYSTEM: < 2.5

    Update to 2.5

  • onionshare Ubuntu:Pro:20.04:LTS

    Versions
    • 2.1-1
    • 2.2-1
    • 2.2-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • onionshare Ubuntu:22.04:LTS

    Versions
    • 2.2-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →