SCA: security update for org.apache.sling:org.apache.sling.commons.messaging.mail (GHSA-c69w-jj56-834w)

high Tenable Cloud Security Plugin ID 413703

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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 (CVE-2021-44549)

See Also

https://github.com/advisories/GHSA-c69w-jj56-834w

Plugin Details

Severity: High

ID: 413703

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.06

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 5.8

Temporal Score: 4.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2021-44549

CVSS v3

Risk Factor: High

Base Score: 7.4

Temporal Score: 6.4

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 12/16/2021

Vulnerability Publication Date: 12/14/2021

Reference Information

CVE: CVE-2021-44549