CVE-2021-44549: apache software foundation apache sling commons messaging mail Improper Certificate Validation
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.
Advisory lineage
Upstream 0 · Downstream 4Timeline
- 14-12-2021PublishedVulnerability first disclosed.
- 04-08-2024Last 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- OSV · MavenEcosystem advisory · calculated7.4HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
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
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Apache1 product
Apache software foundation1 product
- apache sling commons messaging mailApache Sling Commons Messaging Mail 1.0.0 1.0.0
Org.apache.sling1 product
- org.apache.sling.commons.messaging.mail< 2.0
3 vendors · 3 products
References
6 links- lists.apache.org/thread/l8p9h2bqvkj6rhv4w8kzctb817415b7fX Refsource MISCWEBMailing ListVendor Advisory
- github.com/eclipse-ee4jPACKAGE