CVE-2018-19960

Publication date 7 December 2018

Last updated 8 July 2025


Ubuntu priority

Cvss 3 Severity Score

7.0 · High

Score breakdown

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
onionshare 25.04 plucky
Not affected
24.10 oracular
Not affected
24.04 LTS noble
Not affected
23.10 mantic Ignored end of life, was needs-triage
23.04 lunar Ignored end of life, was needs-triage
22.10 kinetic Not in release
22.04 LTS jammy
Not affected
21.10 impish Ignored end of life
21.04 hirsute Ignored end of life
20.10 groovy Ignored end of life
20.04 LTS focal
Not affected
19.10 eoan Ignored end of life
19.04 disco
Not affected
18.10 cosmic Ignored end of life
18.04 LTS bionic
Fixed 0.9.2-1ubuntu0.1~esm1
16.04 LTS xenial
Fixed 0.8.1-1ubuntu0.1~esm1
14.04 LTS trusty Not in release

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro

Notes


john-breton

Per Debian: "Debian uses kernel hardening on Linux by default which renders this non-exploitable (and the release notes state that if rolls a custom kernel the same options need to be enabled). The only remaining impact is that on a multi user environment one user using the debug mode prevents others from using debug mode, but that's mostly a bug, not a security issue." That being said, the fix is trivial. This can be bundled in with other security fixes, and this bug can be fixed as a consequence.

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
onionshare

Severity score breakdown

Parameter Value
Base score 7.0 · High
Attack vector Local
Attack complexity High
Privileges required Low
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact High
Availability impact High
Vector CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

References

Related Ubuntu Security Notices (USN)

    • USN-7625-1
    • OnionShare vulnerabilities
    • 8 July 2025

Other references