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

Indhumathi Muthumurugesh updated HIVE-27110:
--------------------------------------------
    Description: 
The kryo package 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

> 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
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The kryo package 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



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

Reply via email to