Unchecked Return Value Affecting opensmtpd package, versions <6.0.3p1-1ubuntu0.1


Severity

Recommended
high

Based on Ubuntu security rating.

Threat Intelligence

Exploit Maturity
Attacked
EPSS
97.39% (100th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1804-OPENSMTPD-546523
  • published29 Jan 2020
  • disclosed29 Jan 2020

Introduced: 29 Jan 2020

CVE-2020-7247  (opens in a new tab)
CWE-252  (opens in a new tab)

How to fix?

Upgrade Ubuntu:18.04 opensmtpd to version 6.0.3p1-1ubuntu0.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream opensmtpd package and not the opensmtpd package as distributed by Ubuntu. See How to fix? for Ubuntu:18.04 relevant fixed versions and status.

smtp_mailaddr in smtp_session.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.

CVSS Base Scores

version 3.1