You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Viraj Jasani (Jira)" <ji...@apache.org> on 2021/01/07 13:45:00 UTC

[jira] [Reopened] (HBASE-25441) add security check for some APIs in RSRpcServices

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

Viraj Jasani reopened HBASE-25441:
----------------------------------

Reopening for branch-2.2 backport.

> add security check for some APIs in RSRpcServices
> -------------------------------------------------
>
>                 Key: HBASE-25441
>                 URL: https://issues.apache.org/jira/browse/HBASE-25441
>             Project: HBase
>          Issue Type: Bug
>            Reporter: lujie
>            Assignee: lujie
>            Priority: Critical
>             Fix For: 3.0.0-alpha-1, 1.7.0, 2.3.4, 2.5.0, 2.4.1
>
>
>  
> ||API||Severity||symptom||
> |clearRegionBlockCache|Severe|The API will call LruBlockCache.evictBlocksByHfileName, 
>  who is declared as an expensive operation(see its comments), thus non-amin may result Dos|
> |clearSlowLogsResponses|Normal|clears queue records from ringbuffer|
> |updateConfiguration|Normal|non-admin user can make RS reload configutation from disk by this API. |
> |updateRegionFavoredNodesMapping|Normal|Non-admin user can change the region's best storage location by this api|
> |stopServer|low|stopServer on RS is slient, which make client think he/she success shutdown RS. 
>  Add preRpcCheck ont only make client receive the failed message, 
>  but also prevent the non-admin user stop the RS, 
>  even the hbase.coprocessor.regionserver.classes are not configured.|
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)