GHSA-pwjq-6wrh-5w8q

Suggest an improvement
Source
https://github.com/advisories/GHSA-pwjq-6wrh-5w8q
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-pwjq-6wrh-5w8q/GHSA-pwjq-6wrh-5w8q.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-pwjq-6wrh-5w8q
Aliases
Withdrawn
2023-10-09T00:43:44Z
Published
2022-05-14T01:36:38Z
Modified
2026-09-10T03:49:24Z
Severity
  • 7.0 (High) CVSS_V3 - CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Withdrawn Advisory: OnionShare Predictable Pathname
Details

Withdrawn Advisory

This advisory has been withdrawn because the advisory concerns the repository https://github.com/onionshare/onionshare, which is not in a supported ecosystem. onionshare-cli is not affected by this issue.

Original Description

The debug_mode function in web/web.py in OnionShare through 1.3.1, when --debug is enabled, uses the /tmp/onionshare_server.log pathname for logging, which might allow local users to overwrite files or obtain sensitive information by using this pathname.

Database specific
{
    "cwe_ids":  [
        "CWE-20"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2023-07-24T22:17:36Z",
    "nvd_published_at":  "2018-12-07T16:29:00Z",
    "severity":  "HIGH"
}
References

Affected packages

PyPI / onionshare-cli

Package

Name
onionshare-cli
View open source insights on deps.dev
Purl
pkg:pypi/onionshare-cli

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
1.3.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-pwjq-6wrh-5w8q/GHSA-pwjq-6wrh-5w8q.json"