cve.bz

CVE-2020-8793 Untrusted Search Path

4.7 mediumExploitEPSS 0.9%

Medium (4.7). EPSS 0.9% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

4.7 medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 60th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
CWE-426 Untrusted Search Path
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-8793 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-8793?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-8793?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-8793 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
opensmtpd:opensmtpdbefore 6.6.4
fedoraproject:fedora32
canonical:ubuntu_linux18.04
canonical:ubuntu_linux19.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14opensmtpd6.6.4p1-1DEBIAN-CVE-2020-8793
Ubuntu18.04:LTSopensmtpd6.0.3p1-1ubuntu0.2UBUNTU-CVE-2020-8793 USN-4294-1
Ubuntu20.04:LTSopensmtpd6.6.4p1-1UBUNTU-CVE-2020-8793
UbuntuPro:14.04:LTSopensmtpdno fix listedUBUNTU-CVE-2020-8793 USN-4875-1
UbuntuPro:16.04:LTSopensmtpd5.7.3p2-1ubuntu0.1~esm2UBUNTU-CVE-2020-8793 USN-4875-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Public exploits

Attack patterns (CAPEC)

  • CAPEC-38 Leveraging/Manipulating Configuration File Search Paths Likelihood: High · Severity: Very High
  • CAPEC-27 Leveraging Race Conditions via Symbolic Links Likelihood: Medium · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON