You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Nihal Jain (Jira)" <ji...@apache.org> on 2024/01/06 17:46:00 UTC

[jira] [Comment Edited] (HBASE-28070) Replace javax.servlet.jsp dependency with tomcat-jasper

    [ https://issues.apache.org/jira/browse/HBASE-28070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17803845#comment-17803845 ] 

Nihal Jain edited comment on HBASE-28070 at 1/6/24 5:45 PM:
------------------------------------------------------------

Will close HBASE-27817, if this approach is approved and gets committed.


was (Author: nihaljain.cs):
Will close HBASE-27817, if this aproach is approved and gets committed.

>  Replace javax.servlet.jsp dependency with tomcat-jasper
> --------------------------------------------------------
>
>                 Key: HBASE-28070
>                 URL: https://issues.apache.org/jira/browse/HBASE-28070
>             Project: HBase
>          Issue Type: Improvement
>          Components: security, UI
>            Reporter: Nikita Pande
>            Assignee: Nihal Jain
>            Priority: Major
>
> *Problem Statement*
> HBase has to explicitly depends on org.glassfish:javax.el:jar:3.0.1-b08 as this dependency is needed by javax.servlet.jsp. This direct dependency was added due to https://issues.apache.org/jira/browse/HBASE-18831
> mvn dependency tree shows below
> {code:java}
> [INFO] |  +- org.glassfish.web:javax.servlet.jsp:jar:2.3.2:compile
> [INFO] |  |  \- org.glassfish:javax.el:jar:3.0.1-b08:compile
> {code}
> org.glassfish:javax.el:jar:3.0.1-b08:compile has [https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15250]
> We have ton of Jiras and HBase around glass fish and issues caused due to it. With this Jira I plan to completely remove org.glassfish:javax.el:jar:3.0.1-b08 from our dependency tree. Also org.glassfish:javax.el is EOL and needs migration to jakarta-el which is not trivial. See [https://mvnrepository.com/artifact/org.glassfish/javax.el]
> *Proposed Solution*
> This Jira aims to replace javax.servlet.jsp dependency with tomcat-jasper (as javax.servlet.jsp strictly needs glassfish) and this requires minimal change wrt to migrating to jakarta-el.
> Also, we use javax.servlet.jsp to generate/build JSP and same can be achieved via tomcat-jasper.
> CC: [~zhangduo] 
>  



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