You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Minwoo Kang (Jira)" <ji...@apache.org> on 2022/08/23 04:11:00 UTC
[jira] [Created] (HBASE-27315) Add timeout to JavaRegexEngine
Minwoo Kang created HBASE-27315:
-----------------------------------
Summary: Add timeout to JavaRegexEngine
Key: HBASE-27315
URL: https://issues.apache.org/jira/browse/HBASE-27315
Project: HBase
Issue Type: New Feature
Reporter: Minwoo Kang
Assignee: Minwoo Kang
Java regular expression engine is based on backtracking. Thus, a malicious regular expression may result in a ReDoS.
When ReDoS occurs in the HBase, the region server's handler is occupied as a result it cannot process the user's request.
It would be nice to have a timeout for system protection.
The engine does not have timeout.
The charAt method is called during pattern matching, and the charAt method checks if it is timeout.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)