CVE-2020-8793

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-8793
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-8793.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2020-8793
Downstream
Published
2020-02-25T17:15:13Z
Modified
2025-10-15T04:36:02Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/opensmtpd/opensmtpd

Affected ranges

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

Database specific

vanir_signatures

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