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.
{
"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"
]
}[
{
"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
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-39904.json"