OpenSMTPD before 6.6.4 allows local users to read arbitrary files (e.g., on some Linux distributions) because of a combination of an untrusted search path in makemap.c and race conditions in the offline functionality in smtpd.c.
{ "vanir_signatures": [ { "signature_type": "Function", "target": { "function": "queue_fs_envelope_create", "file": "smtpd/queue_fs.c" }, "source": "https://github.com/opensmtpd/opensmtpd/commit/555d2121736acdd70453b24b94c8c2996d9ab5f9", "id": "CVE-2020-8793-7da4040d", "signature_version": "v1", "deprecated": false, "digest": { "function_hash": "196875953881991152077236116624259068501", "length": 852.0 } }, { "signature_type": "Line", "target": { "file": "smtpd/queue_fs.c" }, "source": "https://github.com/opensmtpd/opensmtpd/commit/555d2121736acdd70453b24b94c8c2996d9ab5f9", "id": "CVE-2020-8793-8fca902c", "signature_version": "v1", "deprecated": false, "digest": { "line_hashes": [ "242575823212615086944252627364996250139", "191066550062516158912985716223257094754", "166787329513173112996708886338970170939", "256753418468187729585530898156176574718", "273979709428202467439049274088971250784" ], "threshold": 0.9 } } ] }