You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "László Bodor (Jira)" <ji...@apache.org> on 2023/04/17 09:57:00 UTC
[jira] [Commented] (HIVE-27110) Upgrade com.esotericsoftware:Kyro version to 5.2.0
[ https://issues.apache.org/jira/browse/HIVE-27110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17712997#comment-17712997 ]
László Bodor commented on HIVE-27110:
-------------------------------------
merged to master, thanks [~Indhumathi27] for the patch!
> Upgrade com.esotericsoftware:Kyro version to 5.2.0
> --------------------------------------------------
>
> Key: HIVE-27110
> URL: https://issues.apache.org/jira/browse/HIVE-27110
> Project: Hive
> Issue Type: Task
> Reporter: Indhumathi Muthumurugesh
> Assignee: Indhumathi Muthumurugesh
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> The kryo package (5.0.3) is vulnerable to Uncaught Exceptionconditions([https://cwe.mitre.org/data/definitions/248.html)|https://cwe.mitre.org/data/definitions/248.html).]
> The `{*}readReferenceOrNull(){*}` method in the kryo class fails to process exceptions that may occur due to undefined ArrayList references in the `{*}RefernceResolver`{*} interface while processing input data during serialization or deserialization, which may lead to application crash or uninformative exceptions.
>
> The above CWE-248 can be avoided by upgrading the kryo version to 5.2.0, which has addressed the issue.
> For Reference:
> [https://github.com/EsotericSoftware/kryo/blob/kryo-parent-5.2.0/src/com/esotericsoftware/kryo/Kryo.java]
> Issue: https://github.com/EsotericSoftware/kryo/issues/829
--
This message was sent by Atlassian Jira
(v8.20.10#820010)