Arbitrary Command Injection Affecting org.apache.james:apache-james-mpt-smtp-core package, versions [0,3.6.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (26th 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 Learn

Learn about Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGAPACHEJAMES-2329151
  • published4 Jan 2022
  • disclosed4 Jan 2022
  • creditBenoit Tellier, Raphael Ouazana

Introduced: 4 Jan 2022

CVE-2021-38542  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade org.apache.james:apache-james-mpt-smtp-core to version 3.6.2 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Command Injection via the STARTTLS command. This can lead to a leak of sensible information.

Note: another remediation option is to deactivate STARTTLS and rely solely on explicit TLS for mail protocols, including SMTP, IMAP and POP3.

CVSS Scores

version 3.1