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.
[
{
"source": "https://github.com/opensmtpd/opensmtpd/commit/555d2121736acdd70453b24b94c8c2996d9ab5f9",
"target": {
"function": "queue_fs_envelope_create",
"file": "smtpd/queue_fs.c"
},
"deprecated": false,
"id": "CVE-2020-8793-7da4040d",
"signature_version": "v1",
"digest": {
"length": 852.0,
"function_hash": "196875953881991152077236116624259068501"
},
"signature_type": "Function"
},
{
"source": "https://github.com/opensmtpd/opensmtpd/commit/555d2121736acdd70453b24b94c8c2996d9ab5f9",
"target": {
"file": "smtpd/queue_fs.c"
},
"deprecated": false,
"id": "CVE-2020-8793-8fca902c",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"242575823212615086944252627364996250139",
"191066550062516158912985716223257094754",
"166787329513173112996708886338970170939",
"256753418468187729585530898156176574718",
"273979709428202467439049274088971250784"
]
},
"signature_type": "Line"
}
]