w3m through 0.5.3 does not properly handle temporary files when the ~/.w3m directory is unwritable, which allows a local attacker to craft a symlink attack to overwrite arbitrary files.
[
{
"id": "CVE-2018-6198-021bacd2",
"signature_type": "Function",
"target": {
"function": "w3m_exit",
"file": "main.c"
},
"source": "https://github.com/tats/w3m/commit/18dcbadf2771cdb0c18509b14e4e73505b242753",
"digest": {
"length": 270.0,
"function_hash": "299411999929596845984512423028642050106"
},
"signature_version": "v1",
"deprecated": false
},
{
"id": "CVE-2018-6198-0bd30630",
"signature_type": "Line",
"target": {
"file": "rc.c"
},
"source": "https://github.com/tats/w3m/commit/18dcbadf2771cdb0c18509b14e4e73505b242753",
"digest": {
"line_hashes": [
"261335769205805046566342251010716909920",
"29612917787393137325208173903425113215",
"42696203700645889651420809097333495824",
"158834774318496427167418388532438585199"
],
"threshold": 0.9
},
"signature_version": "v1",
"deprecated": false
},
{
"id": "CVE-2018-6198-48c324d5",
"signature_type": "Function",
"target": {
"function": "init_rc",
"file": "rc.c"
},
"source": "https://github.com/tats/w3m/commit/18dcbadf2771cdb0c18509b14e4e73505b242753",
"digest": {
"length": 1470.0,
"function_hash": "161548505075626386636758859966345807316"
},
"signature_version": "v1",
"deprecated": false
},
{
"id": "CVE-2018-6198-827e47c9",
"signature_type": "Line",
"target": {
"file": "main.c"
},
"source": "https://github.com/tats/w3m/commit/18dcbadf2771cdb0c18509b14e4e73505b242753",
"digest": {
"line_hashes": [
"132494528490069998977071967010022007597",
"82022512250580956341022367886085022917",
"332768501774124119740089642761057973044",
"294366503126602925986443129707894292652"
],
"threshold": 0.9
},
"signature_version": "v1",
"deprecated": false
}
]