7.4

CVE-2021-44549: apache software foundation apache sling commons messaging mail Improper Certificate Validation

CVSS: 7.4v3.1HighModified
AliasesGHSA-c69w-jj56-834w
Published 14-12-2021Last modified 04-08-2024

Vulnerability summary

CVE-2021-44549 is a high (CVSS 7.4) Improper Certificate Validation vulnerability in apache software foundation apache sling commons messaging mail. EPSS estimates a 2.08% chance of exploitation in the next 30 days, higher than 81.2% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.4/10
010
High · v3.1 (NVD)
EPSS score
2.08%
0%100%
Low · +0.14 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 4

Timeline

  1. 14-12-2021
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

Description

Apache Sling Commons Messaging Mail provides a simple layer on top of JavaMail/Jakarta Mail for OSGi to send mails via SMTPS. To reduce the risk of "man in the middle" attacks additional server identity checks must be performed when accessing mail servers. For compatibility reasons these additional checks are disabled by default in JavaMail/Jakarta Mail. The SimpleMailService in Apache Sling Commons Messaging Mail 1.0 lacks an option to enable these checks for the shared mail session. A user could enable these checks nevertheless by accessing the session via the message created by SimpleMessageBuilder and setting the property mail.smtps.ssl.checkserveridentity to true. Apache Sling Commons Messaging Mail 2.0 adds support for enabling server identity checks and these checks are enabled by default. - https://javaee.github.io/javamail/docs/SSLNOTES.txt - https://javaee.github.io/javamail/docs/api/com/sun/mail/smtp/package-summary.html - https://github.com/eclipse-ee4j/mail/issues/429

CVSS metrics

3 scores · 2 sources · 2 versions

EPSS trend

Probability

2.08%

Chance of exploitation in the next 30 days

Percentile

81%

Versus all other CVEs

30-day change

+0.14 pp

From 1.94% on 18-09-2026

18-09-202618-10-2026
EPSS score
2.08%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Apache1 product
Apache software foundation1 product
Org.apache.sling1 product
  • org.apache.sling.commons.messaging.mail< 2.0

3 vendors · 3 products

References

6 links