[
https://issues.apache.org/jira/browse/RANGER-4038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17916693#comment-17916693
]
AlexVazquez commented on RANGER-4038:
-------------------------------------
I just pushed a change to resolve this issue.
It was necessary to specify the property in the method, as Jackson, by default,
uses the method instead of the property.
{code:java}
@JsonProperty("vXGroups")
List<XGroupInfo> xgroupInfoList;
@JsonProperty("vXGroups")
public List<XGroupInfo> getXgroupInfoList() {
return xgroupInfoList;
}
@JsonProperty("vXGroups")
public void setXgroupInfoList(List<XGroupInfo> xgroupInfoList) {
this.xgroupInfoList = xgroupInfoList;
}{code}
I tested deleting users and groups from the UI, and upon restarting UserSync,
it adds them back.
[~bpatel] , what do you think?
> 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)