Arbitrary Command Injection Affecting nginx package, versions [,1.6.1)[1.7.0, 1.7.4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
7.83% (94th 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-UNMANAGED-NGINX-2333642
  • published12 Jan 2022
  • disclosed29 Dec 2014
  • creditUnknown

Introduced: 29 Dec 2014

CVE-2014-3556  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade nginx to version 1.6.1, 1.7.4 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Command Injection. The STARTTLS implementation in mail/ngx_mail_smtp_handler.c in the SMTP proxy in nginx 1.5.x and 1.6.x before 1.6.1 and 1.7.x before 1.7.4 does not properly restrict I/O buffering, which allows man-in-the-middle attackers to insert commands into encrypted SMTP sessions by sending a cleartext command that is processed after TLS is in place, related to a "plaintext command injection" attack, a similar issue to CVE-2011-0411.

References

CVSS Base Scores

version 3.1