CVE-2024-39904

Source
https://cve.org/CVERecord?id=CVE-2024-39904
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-39904.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-39904
Aliases
  • GHSA-vhh5-8wcv-68gj
Published
2024-07-11T15:37:08.305Z
Modified
2026-03-14T12:35:16.573836Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Code Execution Vulnerability via Local File Path Traversal in Vnote
Details

VNote is a note-taking platform. Prior to 3.18.1, a code execution vulnerability existed in VNote, which allowed an attacker to execute arbitrary programs on the victim's system. A crafted URI can be used in a note to perform this attack using file:/// as a link. For example, file:///C:/WINDOWS/system32/cmd.exe. This allows attackers to execute arbitrary programs by embedding a reference to a local executable file such as file:///C:/WINDOWS/system32/cmd.exe and file:///C:/WINDOWS/system32/calc.exe. This vulnerability can be exploited by creating and sharing specially crafted notes. An attacker could send a crafted note file and perform further attacks. This vulnerability is fixed in 3.18.1.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39904.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-73"
    ]
}
References

Affected packages

Git / github.com/vnotex/vnote

Affected ranges

Type
GIT
Repo
https://github.com/vnotex/vnote
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Type
GIT
Repo
https://github.com/vnotex/vnote
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

2.*
2.4
3.*
3.11.0
v1.*
v1.0
v1.1
v1.10
v1.11
v1.11.1
v1.12
v1.13
v1.14
v1.15
v1.16
v1.17
v1.18
v1.19
v1.2
v1.20
v1.21
v1.22
v1.3
v1.4
v1.5
v1.6
v1.7
v1.8
v1.9
v2.*
v2.0
v2.1
v2.10
v2.2
v2.3
v2.4
v2.5
v2.6
v2.7
v2.7.1
v2.7.2
v2.8
v2.8.1
v2.8.2
v2.9
v2.9.1
v3.*
v3.0.0-beta.1
v3.0.0-beta.10
v3.0.0-beta.11
v3.0.0-beta.2
v3.0.0-beta.3
v3.0.0-beta.4
v3.0.0-beta.5
v3.0.0-beta.6
v3.0.0-beta.7
v3.0.0-beta.8
v3.0.0-beta.9
v3.0.1
v3.1.0
v3.10.0
v3.10.1
v3.11.0
v3.12.0
v3.12.888
v3.13.0
v3.13.1
v3.14.0
v3.15.0
v3.15.1
v3.16.0
v3.17.0
v3.18.0
v3.2.0
v3.3.0
v3.4.0
v3.5.0
v3.5.1
v3.6.0
v3.7.0
v3.8.0
v3.8.1
v3.9.0

Database specific

vanir_signatures
[
    {
        "signature_type": "Function",
        "signature_version": "v1",
        "target": {
            "file": "src/utils/widgetutils.cpp",
            "function": "WidgetUtils::openUrlByDesktop"
        },
        "id": "CVE-2024-39904-3b64bd35",
        "deprecated": false,
        "source": "https://github.com/vnotex/vnote/commit/3477469b669708ff547037fda9fc2817870428aa",
        "digest": {
            "function_hash": "161011639681160019755919320285911296633",
            "length": 105.0
        }
    },
    {
        "signature_type": "Line",
        "signature_version": "v1",
        "target": {
            "file": "src/utils/widgetutils.cpp"
        },
        "id": "CVE-2024-39904-6d829bd5",
        "deprecated": false,
        "source": "https://github.com/vnotex/vnote/commit/3477469b669708ff547037fda9fc2817870428aa",
        "digest": {
            "line_hashes": [
                "330178138588258818445776921831144656651",
                "124721176872878059454518684875103052379",
                "42251772664261607524591250489979987275",
                "88438539364376623365291727085908671609",
                "141751952401183798561753819810752445713",
                "191134948664513230284102637037101750661",
                "185418810088572224651891186828626223205",
                "90746088955982217713941860732744342395"
            ],
            "threshold": 0.9
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-39904.json"