Skip to content
Heist/ feed
Back to feed
MediumFix available

onionshare — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2022-21696

OnionShare is an open source tool that lets you securely and anonymously share files, host websites, and chat with friends using the Tor network. In affected versions it is possible to change the username to that of another chat participant with an additional space character at the end of the name string. An adversary with access to the chat environment can use the rename feature to impersonate other participants by adding whitespace characters at the end of the username.

Products
onionshare
Affected versions
Not specified
Fixed versions
2.5-1
CVEs
CVE-2022-21696
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 14:41 UTC · Revision 1

Source evidence

DEBIAN-CVE-2022-21696

core-osv · Original source

Published 18 Jan 2022, 20:15 UTC

OnionShare is an open source tool that lets you securely and anonymously share files, host websites, and chat with friends using the Tor network. In affected versions it is possible to change the username to that of another chat participant with an additional space character at the end of the name string. An adversary with access to the chat environment can use the rename feature to impersonate other participants by adding whitespace characters at the end of the username.

osv:DEBIAN-CVE-2022-21696

onionshare

Fixed versions: 2.5-1

onionshare

Fixed versions: 2.5-1

onionshare

Fixed versions: 2.5-1

Complete source record
{
  "id": "1a8f870955cb66e7e7f3702a64d2bd8bad4576c7917631e9ed83709ad3a283ec",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-21696",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2022-21696",
    "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. In affected versions it is possible to change the username to that of another chat participant with an additional space character at the end of the name string. An adversary with access to the chat environment can use the rename feature to impersonate other participants by adding whitespace characters at the end of the username.",
    "evidence": "osv:DEBIAN-CVE-2022-21696",
    "products": [
      {
        "name": {
          "value": "onionshare",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.5-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "onionshare",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.5-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "onionshare",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.5-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2022-21696",
      "aliases": [
        "DEBIAN-CVE-2022-21696"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.5-1"
                }
              ]
            }
          ],
          "package": {
            "name": "onionshare",
            "purl": "pkg:deb/debian/onionshare?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-21696.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.5-1"
                }
              ]
            }
          ],
          "package": {
            "name": "onionshare",
            "purl": "pkg:deb/debian/onionshare?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-21696.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.5-1"
                }
              ]
            }
          ],
          "package": {
            "name": "onionshare",
            "purl": "pkg:deb/debian/onionshare?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-21696.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T08:01:33.330154730Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-21696"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2022-21696"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-21696",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 323032,
  "published_at": "2022-01-18T20:15:07.9+00:00"
}