[ 
https://issues.apache.org/jira/browse/HBASE-30193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xavier Fernandis updated HBASE-30193:
-------------------------------------
    Description: 
*com.sun.mail:jakarta.mail* is a transitive dependency pulled in via 
{*}com.sun.xml.ws:jaxws-rt:2.3.7{*}. It is not used anywhere in HBase.

jaxws-rt itself is only used in two modules (hbase-it and 
hbase-dev-generate-classpath), and the only class referenced from its 
dependency chain is javax.xml.ws.http.HTTPException (which comes from 
jakarta.xml.ws-api, not from jakarta.mail).

Since jakarta.mail is unused and brings in 
[CVE-2025-7962|https://github.com/advisories/GHSA-9342-92gg-6v29] (SMTP 
Injection), it is safe to exclude it from jaxws-rt.
 
 
 

  was:
com.sun.mail:jakarta.mail 1.6.7 is pulled in as a transitive dependency via
com.sun.xml.ws:jaxws-rt:2.3.7. Version 1.6.7 is affected by CVE-2025-7962
(SMTP Injection vulnerability).

Fixed in: 1.6.8 (https://github.com/advisories/GHSA-9342-92gg-6v29)


> Override transitive jakarta.mail 1.6.7 to 1.6.8 (CVE-2025-7962)
> ---------------------------------------------------------------
>
>                 Key: HBASE-30193
>                 URL: https://issues.apache.org/jira/browse/HBASE-30193
>             Project: HBase
>          Issue Type: Task
>    Affects Versions: 2.6.2, 2.6.4, 2.6.5
>            Reporter: Xavier Fernandis
>            Assignee: Xavier Fernandis
>            Priority: Major
>              Labels: CVE-2025-7962, pull-request-available
>
> *com.sun.mail:jakarta.mail* is a transitive dependency pulled in via 
> {*}com.sun.xml.ws:jaxws-rt:2.3.7{*}. It is not used anywhere in HBase.
> jaxws-rt itself is only used in two modules (hbase-it and 
> hbase-dev-generate-classpath), and the only class referenced from its 
> dependency chain is javax.xml.ws.http.HTTPException (which comes from 
> jakarta.xml.ws-api, not from jakarta.mail).
> Since jakarta.mail is unused and brings in 
> [CVE-2025-7962|https://github.com/advisories/GHSA-9342-92gg-6v29] (SMTP 
> Injection), it is safe to exclude it from jaxws-rt.
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to