[ 
https://issues.apache.org/jira/browse/RANGER-4038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17916623#comment-17916623
 ] 

Bhavik Patel commented on RANGER-4038:
--------------------------------------

I have found the better way to fix the usersync issues.
1. Configured "StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION" in 
RangerJAXBContextResolver class to get the full detailed error/exception msg.

2. updated the "GetXUserListResponse" and "GetXGroupListResponse" class 
attributes as below
||@SerializedName("vXGroups")
List<XGroupInfo> xgroupInfoList;||@SerializedName("vXGroups")
List<XGroupInfo> vXGroups;||
|@SerializedName("vXUsers")
 List<XUserInfo> xuserInfoList;|@SerializedName("vXUsers")
List<XUserInfo> vXUsers;|

> Upgrade spring framework and spring security versions
> -----------------------------------------------------
>
>                 Key: RANGER-4038
>                 URL: https://issues.apache.org/jira/browse/RANGER-4038
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>            Reporter: Himanshu Maurya
>            Priority: Major
>
> Pivotal Spring Framework up to (excluding) 6.0.0 suffers from a potential 
> remote code execution (RCE) issue if used for Java deserialization of 
> untrusted data. Depending on how the library is implemented within a product, 
> this issue may or not occur, and authentication may be required.



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

Reply via email to