Insecure Defaults Affecting org.apache.sling:org.apache.sling.commons.messaging.mail package, versions [1.0.0,2.0.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.08% (81st 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-JAVA-ORGAPACHESLING-2320171
  • published15 Dec 2021
  • disclosed15 Dec 2021
  • creditMichael Lescisin

Introduced: 15 Dec 2021

CVE-2021-44549  (opens in a new tab)
CWE-453  (opens in a new tab)

How to fix?

Upgrade org.apache.sling:org.apache.sling.commons.messaging.mail to version 2.0.0 or higher.

Overview

org.apache.sling:org.apache.sling.commons.messaging.mail is a part of Apache Sling project. This module provides a simple layer on top of Jakarta Mail 2.0 (package jakarta.mail) including a message builder and a service to send mails via SMTPS.

Affected versions of this package are vulnerable to Insecure Defaults due to a missing validation of the SMTPS server hostname certificate during the handling of the TLS connection to the SMTPS server.

CVSS Base Scores

version 3.1