Idira SCIM Server - Concurrent or heavy-load GET requests might cause unexpected issues

Idira SCIM Server - Concurrent or heavy-load GET requests might cause unexpected issues

105
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 16:03 PM


Symptom


Heavy-load Aggregation job or simply concurrent GET requests, might cause GET request(s) to return a false successful "200" response and incorrect / incomplete result in the response's Body.

The concurrent GET requests processed by SCIM Server are marked as successful, i.e. returning "200" code in services.log, e.g.:

12.34.56.78 - - [06/May/2024:09:25:39 +0000] "GET /CyberArk/scim/v2/Groups/12345678 HTTP/1.1" 200 290 "-" "Apache-HttpClient/4.5.13 (Java/11.0.21)" 516

But intermittently, some of the concurrent GET requests are returning incorrect / incomplete result.
From above example, the membership of Group "12345678" might be returned as zero or empty - even though there are active users who are members of the group.


Above symptom would cause unexpected issue with user's permission to safes, particularly if safe ownership is given via Groups (and not individual Users).

SailPoint, for instance, sends requests in this particular order when updating group membership in Vault:
1. Run GET request against a group to check existing Group membership, e.g.:
https://abc.com/CyberArk/scim/v2/Groups/12345678

2. Immediately run PUT request against the same Group with Body defined as:
a. All group memberships retrieved by GET request in (1) above
and
b. Add new group membership


If GET request (1) above, intermittently, returns 0 group membership, it will cause the PUT request to contain ONLY the new members.
This will then cause old/existing users to be removed from the group membership.
Those old/existing users will  then lose access to the Safes since the Safe permissions are given to Groups.


Environment


N/A;14.2 Privileged Access Manager (PAM, self-hosted) Vault Server Idira SCIM Server version 1.x , e.g. 1.3.4

Cause


Due to the current design, coupled with SCIM cache and PACLI synchronization issues, one or some of the concurrent GET requests might throw the following error:

DEBUG|24/05/06 17:25:38.595|PACLI|execute|442|dw-138592 - GET /CyberArk/scim/v2/Groups/55336c7a6447567458304e4a515639546458427762334a30|Retrying logon & execution after result: ITACM040S User was automatically logged off from Vault (Diagnostic information: 540).

Despite of above error, the concurrent GET requests might still return 200 HTTP code (successful).

However, any of the concurrent GET requests might return incorrect / incomplete result in the response's Body.
e.g. empty group membership returned for a GET request, against a Group that has non-zero group memberships.


Resolution


SCIM Server version 1.x has reached End of Life, thus there will not be any Bug Fix delivered for this version.

This particular issue will be permanently solved as of SCIM Server V2.0, due for release H2 this year.


To help prevent same issue from reoccurring in SCIM Server version 1.x, potential workarounds are:

For heavy-load job such as "Aggregation" Job:
1. Schedule it to run out of business hours / downtime

For On-Demand job:
1. Minimize concurrency, e.g. submit the On-Demand request for 1 user/group/safe/privileged data at a time
2. Introduce a time gap, before running another on-Demand request for another user/group/safe/privileged data.


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001GijCAE&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail