sercanCyberVision opened a new pull request, #5274:
URL: https://github.com/apache/hbase/pull/5274

   **MOTIVATION**
   Current version of `jruby` (9.3.9.0) has `snakeyaml` dependency version 
`1.33` which is affected critical CVE 
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1471
   
   **SOLUTION**
   - Upgrading `jruby` to the latest version; `9.4.2.0`
   - Upgrading related `joni` and `jcodings` to `2.1.48` and `1.0.58` 
respectively
   - Adding `-W0` option to `JRUBY_OPTS` as it outputs below warning when 
`hbase` shell is launched;
   ```
   
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85:
 warning: parentheses after method name is interpreted as an argument list, not 
a decomposed argument
   ```
   
   **CHECKS**
   1. Launched HBase shell.
   2. Executed unit tests without cluster;
   ```
   [INFO] Running org.apache.hadoop.hbase.client.TestShellNoCluster
   [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 
s - in org.apache.hadoop.hbase.client.TestShellNoCluster
   [INFO] Running org.apache.hadoop.hbase.client.TestTableShell
   [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
25.595 s - in org.apache.hadoop.hbase.client.TestTableShell
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to