Skip to content
Heist/ feed
Back to feed
Medium

Improper Access Control in Onionshare

Type: advisorySources: OSV

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 chat participants can spoof their channel leave message, tricking others into assuming they left the chatroom.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-21691
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 15:07 UTC · Revision 1

Source evidence

Improper Access Control in Onionshare

core-osv · Original source

Published 18 Jan 2022, 22:00 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 chat participants can spoof their channel leave message, tricking others into assuming they left the chatroom.

osv:CVE-2022-21691
Complete source record
{
  "id": "caa0fd6c1bac43d33456a688f524c3c6a98d22e0fc2422560aac799c533bad14",
  "url": "https://osv.dev/vulnerability/CVE-2022-21691",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Improper Access Control in Onionshare",
    "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 chat participants can spoof their channel leave message, tricking others into assuming they left the chatroom.",
    "evidence": "osv:CVE-2022-21691",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-21691",
      "aliases": [
        "CVE-2022-21691",
        "GHSA-w9m4-7w72-r766",
        "PYSEC-2022-42"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/onionshare/onionshare",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6642c25959f14daeb4a572798ccf4acd765d5795"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.5"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "6642c25959f14daeb4a572798ccf4acd765d5795"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v2.5"
                  },
                  {
                    "cpe": "cpe:2.3:a:onionshare:onionshare:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.4.dev1",
            "v2.3.2",
            "v2.3.2.dev1",
            "v2.3.1",
            "v2.3",
            "v2.3.dev2",
            "v2.3.dev1",
            "v2.2.dev1",
            "v2.1.dev1",
            "v2.0.dev3",
            "v2.0.dev2",
            "v1.2",
            "v1.1",
            "v1.1.dev2",
            "v1.1.dev1",
            "v1.0",
            "v1.0dev1",
            "v0.9.2",
            "v0.9.1",
            "v0.9",
            "v0.8.1",
            "0.8",
            "0.7.1",
            "0.7",
            "0.6",
            "0.5",
            "0.4",
            "0.3",
            "0.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21691.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:36.461138589Z",
      "provider": "osv",
      "references": [
        "https://github.com/onionshare/onionshare/releases/tag/v2.5",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21691.json",
        "https://github.com/onionshare/onionshare/security/advisories/GHSA-w9m4-7w72-r766",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-21691"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-306"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21691.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-21691",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 503712,
  "published_at": "2022-01-18T22:00:12+00:00"
}