SMTPS server hostname not checked when making TLS connection to SMTPS server
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Spoofing
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Partial Red Hat: 5 fixed, 3 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-295.
Summary
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
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Sling Commons Messaging Mail | Apache Sling Commons Messaging Mail 1.0.0 1.0.0 | — | No fix listed | CNA |
| — | org.apache.sling:org.apache.sling.commons.messaging.mail (Maven) | before 2.0 | 2.0 | Patch available | GHSA-c69w-jj56-834w |
- Apache Sling Commons Messaging Mail VendorApache Affected Apache Sling Commons Messaging Mail 1.0.0 1.0.0 Fixed in — No fix listed CNA
- org.apache.sling:org.apache.sling.commons.messaging.mail (Maven) Vendor— Affected before 2.0 Fixed in 2.0 Patch available GHSA-c69w-jj56-834w
Remediation
- Fix · GHSA-c69w-jj56-834w org.apache.sling:org.apache.sling.commons.messaging.mail (Maven) Fixed in 2.0 Advisory →
Red Hat 6 advisories
- RHSA-2024:8887 Released 2024-11-05 · Red Hat rating ImportantRed Hat Product OCP Tools 4.13 Openshift Jenkins security update
- OpenShift Developer Tools and Services for OCP 4.13 jenkins-2-plugins-4.13.1729840148-1.el8, jenkins-2.462.3.1729839924-3.el8
- RHSA-2024:8886 Released 2024-11-05 · Red Hat rating ImportantRed Hat Product OCP Tools 4.12 Openshift Jenkins security update
- OpenShift Developer Tools and Services for OCP 4.12 jenkins-2-plugins-4.12.1730119231-1.el8, jenkins-2.462.3.1730119132-3.el8
- RHSA-2024:8885 Released 2024-11-05 · Red Hat rating ImportantRed Hat Product OCP Tools 4.14 Openshift Jenkins security update
- OpenShift Developer Tools and Services for OCP 4.14 jenkins-2-plugins-4.14.1729839844-1.el8, jenkins-2.462.3.1729839727-3.el8
Show 3 more Red Hat advisories
- RHSA-2024:8884 Released 2024-11-05 · Red Hat rating ImportantRed Hat Product OCP Tools 4.15 Openshift Jenkins security update
- OpenShift Developer Tools and Services for OCP 4.15 jenkins-2-plugins-4.15.1729838165-1.el8, jenkins-2.462.3.1729837947-3.el8
- RHSA-2024:7676 Released 2024-10-10 · Red Hat rating CriticalRed Hat build of Quarkus 3.2.12.SP1 Security Update
- Red Hat build of Quarkus Native builder
- RHSA-2024:7670 Released 2024-10-10 · Red Hat rating CriticalRed Hat build of Quarkus 3.8.6.SP1 Security Update
- Red Hat build of Quarkus Native builder
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Build of Keycloak | Affected | No fix planned: Will not fix |
| Red Hat build of Apache Camel 4 for Quarkus 3 | Affected | No fix planned: Will not fix |
| Red Hat build of Apache Camel for Spring Boot 4 | Affected | No fix yet |
| OpenShift Developer Tools and Services for OCP 4.12 | Fixed | RHSA-2024:8886 |
| OpenShift Developer Tools and Services for OCP 4.13 | Fixed | RHSA-2024:8887 |
| OpenShift Developer Tools and Services for OCP 4.14 | Fixed | RHSA-2024:8885 |
| OpenShift Developer Tools and Services for OCP 4.15 | Fixed | RHSA-2024:8884 |
| Red Hat build of Quarkus Native builder | Fixed | RHSA-2024:7676 |
Not affected: 3 products
- OpenShift Serverless
- Red Hat Data Grid 8
- Red Hat JBoss Enterprise Application Platform 8
Timeline
- 2026-10-02 Threatist record created from CVE-2021-44549
- 2026-10-03 Alias added: GHSA-c69w-jj56-834w
- 2026-10-20 Fix available: Red Hat build of Quarkus Native builder · Red Hat
References
Advisory 2
Sources
- CVE-2021-44549 · CVE Program
- CVE-2021-44549 · NVD
- FIRST EPSS
- GHSA-c69w-jj56-834w · GitHub Advisory Database · CC BY 4.0
- CVE-2021-44549 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences