Skip to content

CVE-2020-8793 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 offli...

MediumCVSS 4.7 EPSS 0.87% Public exploit
Published
Updated
Exploit status
Public exploit available
Technology
UbuntuDebian

Description

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.

Upgrade path

10 packages: 7 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/opensmtpd(Ubuntu Pro 14.04) = 5.3.3p1-4; = 5.4.1p1-1; = 5.4.1p1-1ubuntu0.1~esm1; All versions No fix listed No fix yet
debian/opensmtpd(Debian 12) < 6.6.4p1-1 6.6.4p1-1 Fixed
debian/opensmtpd(Debian 13) < 6.6.4p1-1 6.6.4p1-1 Fixed
debian/opensmtpd(Debian 14) < 6.6.4p1-1 6.6.4p1-1 Fixed
opensmtpd < 6.6.4 6.6.4 Fixed
ubuntu/opensmtpd(Ubuntu 18.04) < 6.0.3p1-1ubuntu0.2; = 6.0.2p1-2build1; = 6.0.3p1-1; = 6.0.3p1-1build1 +1 more 6.0.3p1-1ubuntu0.2 Fixed
ubuntu/opensmtpd(Ubuntu 20.04) < 6.6.4p1-1; = 6.0.3p1-6; = 6.0.3p1-6build1; = 6.6.1p1-1 +4 more 6.6.4p1-1 Fixed
ubuntu/opensmtpd(Ubuntu Pro 16.04) < 5.7.3p2-1ubuntu0.1~esm2; = 5.4.2p1-4; = 5.7.3p1-1; = 5.7.3p2-1 +1 more 5.7.3p2-1ubuntu0.1~esm2 Fixed
Canonical Ubuntu Linux = 18.04; = 19.10 No fix listed Versions listed
fedoraproject fedora = 32 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/opensmtpd(Debian:12) < 6.6.4p1-1 6.6.4p1-1
debian/opensmtpd(Debian:13) < 6.6.4p1-1 6.6.4p1-1
debian/opensmtpd(Debian:14) < 6.6.4p1-1 6.6.4p1-1
opensmtpd < 6.6.4 6.6.4
fedoraproject fedora = 32 No fix listed
Canonical Ubuntu Linux = 18.04 No fix listed
Canonical Ubuntu Linux = 19.10 No fix listed
ubuntu/opensmtpd(Ubuntu:Pro:14.04) All versions No fix listed
ubuntu/opensmtpd(Ubuntu:Pro:14.04) = 5.3.3p1-4 No fix listed
ubuntu/opensmtpd(Ubuntu:Pro:14.04) = 5.4.1p1-1 No fix listed
ubuntu/opensmtpd(Ubuntu:Pro:14.04) = 5.4.1p1-1ubuntu0.1~esm1 No fix listed
ubuntu/opensmtpd(Ubuntu:Pro:16.04) < 5.7.3p2-1ubuntu0.1~esm2 5.7.3p2-1ubuntu0.1~esm2
ubuntu/opensmtpd(Ubuntu:Pro:16.04) = 5.4.2p1-4 No fix listed
ubuntu/opensmtpd(Ubuntu:Pro:16.04) = 5.7.3p1-1 No fix listed
ubuntu/opensmtpd(Ubuntu:Pro:16.04) = 5.7.3p2-1 No fix listed
ubuntu/opensmtpd(Ubuntu:Pro:16.04) = 5.7.3p2-1ubuntu0.1~esm1 No fix listed
ubuntu/opensmtpd(Ubuntu:18.04) < 6.0.3p1-1ubuntu0.2 6.0.3p1-1ubuntu0.2
ubuntu/opensmtpd(Ubuntu:18.04) = 6.0.2p1-2build1 No fix listed
ubuntu/opensmtpd(Ubuntu:18.04) = 6.0.3p1-1 No fix listed
ubuntu/opensmtpd(Ubuntu:18.04) = 6.0.3p1-1build1 No fix listed
ubuntu/opensmtpd(Ubuntu:18.04) = 6.0.3p1-1ubuntu0.1 No fix listed
ubuntu/opensmtpd(Ubuntu:20.04) < 6.6.4p1-1 6.6.4p1-1
ubuntu/opensmtpd(Ubuntu:20.04) = 6.0.3p1-6 No fix listed
ubuntu/opensmtpd(Ubuntu:20.04) = 6.0.3p1-6build1 No fix listed
ubuntu/opensmtpd(Ubuntu:20.04) = 6.6.1p1-1 No fix listed
Show 4 more
ProductAffected versionsFixed in
ubuntu/opensmtpd(Ubuntu:20.04) = 6.6.1p1-3 No fix listed
ubuntu/opensmtpd(Ubuntu:20.04) = 6.6.1p1-4 No fix listed
ubuntu/opensmtpd(Ubuntu:20.04) = 6.6.1p1-5 No fix listed
ubuntu/opensmtpd(Ubuntu:20.04) = 6.6.2p1-1 No fix listed

References