Siteminder not vulnerable to CVE-2022-42889
search cancel

Siteminder not vulnerable to CVE-2022-42889


Article ID: 252807


Updated On:





Apache Commons Text performs variable interpolation, allowing properties to be dynamically evaluated and expanded. The standard format for interpolation is "${prefix:name}", where "prefix" is used to locate an instance of org.apache.commons.text.lookup.StringLookup that performs the interpolation. Starting with version 1.5 and continuing through 1.9, the set of default Lookup instances included interpolators that could result in arbitrary code execution or contact with remote servers. These lookups are: - "script" - execute expressions using the JVM script execution engine (javax.script) - "dns" - resolve dns records - "url" - load values from urls, including from remote servers Applications using the interpolation defaults in the affected versions may be vulnerable to remote code execution or unintentional contact with remote servers if untrusted configuration values are used. Users are recommended to upgrade to Apache Commons Text 1.10.0, which disables the problematic interpolators by default.


Release Info. :

Siteminder Access Gateway 12.8.x

Web Agent for Sharepoint


Siteminder Access Gateway r12.8.7 and older ships with "Common Text 1.9"



This vulnerability is very specific.  According to the Apache Software Foundation, this vulnerability is only exposed under the following conditions:

--> If you are using software which uses Apache Commons Text 1.9 or older and using the "StringSubstitutor API" specifically without properly sanitizing any untrusted input.


The Siteminder Sustaining Engineering team has confirmed that we are not using the "StringSubstitutor API", and therefore Siteminder Access Gateway and Sharepoint Web Agent implementations are not subject to this vulnerability.

However, 'commons-text-1.10' has been released for Siteminder Access Gateway.  "" has been attached to the KB (see Attachments (Below)).

1) Extract the provided file that contains the commons-text-1.10.0.jar file that is downloaded from

2) Stop Access Gateway, if running.

3) Take a backup of the commons-text-1.9.jar file from the following locations:

 Windows: <AG-installation-location>\Tomcat\thirdparty

Linux: <AG-installation-location>/Tomcat/webapps/proxyui/WEB-INF/lib/

Note: We recommend that you delete the commons-text-1.9.jar file from the above locations before deploying the commons-text-1.10.0.jar file in Step 4. If you prefer to retain the commons-text-1.9.jar file in the same location, ensure that you rename the file (for example, commons-text-1.9_ORIGINAL.jar_ORIGINAL) to avoid any issues while deploying the latest jar.
4) Copy the 'commons-text-1.10.0.jar' file that is extracted from Step 1 into the above locations. 

5) Start Access Gateway.

Additional Information

Attachments get_app