VDB
Sign up
MEDIUM5.4

PYSEC-2022-41

Quick fix

PYSEC-2022-41 — 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 path parameter of the requested URL is not sanitized before being passed to the QT frontend. This path is used in all components for displaying the server access history. This leads to a rendered HTML4 Subset (QT RichText editor) in the Onionshare frontend.

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"]}'