VDB
Sign up
HIGH7.5

PYSEC-2022-40

Quick fix

PYSEC-2022-40 — onionshare-cli: upgrade to the fixed version with the command below.

pip install --upgrade 'onionshare-cli>=2.5'

Details

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 the receive mode limits concurrent uploads to 100 per second and blocks other uploads in the same second, which can be triggered by a simple script. An adversary with access to the receive mode can block file upload for others. There is no way to block this attack in public mode due to the anonymity properties of the tor network.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/onionshare-cli
Introduced in: 0Fixed in: 2.5
Fixpip install --upgrade 'onionshare-cli>=2.5'

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:pypi/onionshare-cli"]}'