Vulnerable software on user computers poses major threats, as demonstrated by the latest Google Chrome zero-day vulnerability CVE-2022-1096. Denying access to all or selected resources for the affected users is a common response from organizations. The process to deny user access with vulnerable software can easily be achieved with AppGate SDP’s device posture check capabilities and conditional access mechanisms.
Solution
This article provides example device claim scripts for macOS, Linux distributions, and Windows to detect installed software versions and a condition script to require minimum version to access. Although they are specific to Google Chrome, they can be used as a template to check any other software in the future.
Follow the steps below:
Login to the SDP Admin UI
Navigate to Scripts > Device Claims Scripts
Create three device claim scripts using the files below:
Name the scripts as chrome_version_linux, chrome_version_mac, chrome_version_windows
Navigate to System > Identity Providers and select the relevant Identity Provider
Under “Configure On-demand Device Claims”, add three new Device Claims with “Run Device Script” command, select chrome_version_linux from the list and use “chrome_version” as Claim Name and “All Linux Devices”.
Do the same for windows and macOS also, use the same “chrome_version” claim name on all three platforms.
The result should look like the following:

Navigate to Operations > Conditions and create a new condition
Use a relevant name like “Safe Chrome Versions”
In Access Criteria, select “script returns true” and paste the code from the linked condition.js file
Under “User Actions”, add a “Display Message” user action with a informative message
For example: “The Chrome version is installed on your host is vulnerable, please update Google Chrome.”
No need to set any re-evaluate period as the script is tied to a device claim, which will be re-evaluated every 5 minutes.
Navigate to Operations > Entitlements.
Add the newly created Condition to selected / all entitlements as needed.
Note that when user updates the Google Chrome to a safe version, it may take up to 5 minutes for the condition to be updated.