UBUNTU-CVE-2020-7247

Source
https://ubuntu.com/security/CVE-2020-7247
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-7247.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2020-7247
Related
Published
2020-01-29T16:15:00Z
Modified
2020-01-29T16:15:00Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

smtpmailaddr in smtpsession.c in OpenSMTPD 6.6, as used in OpenBSD 6.6 and other products, allows remote attackers to execute arbitrary commands as root via a crafted SMTP session, as demonstrated by shell metacharacters in a MAIL FROM field. This affects the "uncommented" default configuration. The issue exists because of an incorrect return value upon failure of input validation.

References

Affected packages

Ubuntu:Pro:14.04:LTS / opensmtpd

Package

Name
opensmtpd
Purl
pkg:deb/ubuntu/opensmtpd?arch=src?distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.4.1p1-1ubuntu0.1~esm1

Affected versions

5.*

5.3.3p1-4
5.4.1p1-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "binary_version": "5.4.1p1-1ubuntu0.1~esm1",
            "binary_name": "opensmtpd"
        },
        {
            "binary_version": "5.4.1p1-1ubuntu0.1~esm1",
            "binary_name": "opensmtpd-dbgsym"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / opensmtpd

Package

Name
opensmtpd
Purl
pkg:deb/ubuntu/opensmtpd?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.7.3p2-1ubuntu0.1~esm1

Affected versions

5.*

5.4.2p1-4
5.7.3p1-1
5.7.3p2-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "binary_version": "5.7.3p2-1ubuntu0.1~esm1",
            "binary_name": "opensmtpd"
        },
        {
            "binary_version": "5.7.3p2-1ubuntu0.1~esm1",
            "binary_name": "opensmtpd-dbgsym"
        }
    ]
}

Ubuntu:18.04:LTS / opensmtpd

Package

Name
opensmtpd
Purl
pkg:deb/ubuntu/opensmtpd?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.0.3p1-1ubuntu0.1

Affected versions

6.*

6.0.2p1-2build1
6.0.3p1-1
6.0.3p1-1build1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "binary_version": "6.0.3p1-1ubuntu0.1",
            "binary_name": "opensmtpd"
        },
        {
            "binary_version": "6.0.3p1-1ubuntu0.1",
            "binary_name": "opensmtpd-dbgsym"
        }
    ]
}

Ubuntu:20.04:LTS / opensmtpd

Package

Name
opensmtpd
Purl
pkg:deb/ubuntu/opensmtpd?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.6.2p1-1

Affected versions

6.*

6.0.3p1-6
6.0.3p1-6build1
6.6.1p1-1
6.6.1p1-3
6.6.1p1-4
6.6.1p1-5

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "binary_version": "6.6.2p1-1",
            "binary_name": "opensmtpd"
        },
        {
            "binary_version": "6.6.2p1-1",
            "binary_name": "opensmtpd-dbgsym"
        }
    ]
}