IBM Support

Security Bulletin: Vulnerability of Google Gson (gson-2.8.2.jar ) have affected APM WebSphere Application Server Agent , APM SAP NetWeaver Agent and APM WebLogic Agent

Security Bulletin


Summary

APM WebSphere Application Server Agent , APM SAP NetWeaver Agent and APM WebLogic Agent is vulnerable to Google Gson (gson-2.8.2.jar ) 217225, CVE-2022-25647. The fix/workaround includes gson-2.8.2.jar upgraded to gson-2.10.1.jar.

Vulnerability Details

CVEID:   CVE-2022-25647
DESCRIPTION:   Google Gson is vulnerable to a denial of service, caused by the deserialization of untrusted data. By using the writeReplace() method, a remote attacker could exploit this vulnerability to cause a denial of service.
CVSS Base score: 7.7
CVSS Temporal Score: See: https://exchange.xforce.ibmcloud.com/vulnerabilities/217225 for the current score.
CVSS Vector: (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H)

IBM X-Force ID:   217225
DESCRIPTION:   Google Gson is vulnerable to a denial of service, caused by the deserialization of untrusted data. By using the writeReplace() method, a remote attacker could exploit this vulnerability to cause a denial of service.
CVSS Base score: 7.7
CVSS Temporal Score: See: https://exchange.xforce.ibmcloud.com/vulnerabilities/217225 for the current score.
CVSS Vector: (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H)

Affected Products and Versions

Affected Product(s)Version(s)
APM Agents for Monitoringall

Remediation/Fixes

IBM strongly recommends addressing the vulnerability now by upgrading:

Product Remediation

Fix

APM on-premise

1. APM WebSphere Application Server Agent release 8.1.4.0.20  (WAS Agent version: 07.30.14.19)

2. APM SAP NetWeaver Agent release 8.1.4.0.20 (SAP NetWeaver Agent version: 08.23.05.00)


Download the APM Agents installer from Passport Advantage. Please refer below link for download instructions:

https://www.ibm.com/docs/en/capmp/8.1.4?topic=advantage-part-numbers

Workarounds and Mitigations

For APM WebLogic Agent, this vulnerability is not fixed in APM 814020 release. Please follow below steps as a workaround:

gson-2.8.2.jar must be upgraded from Maven Repository: Search/Browse/Explore (mvnrepository.com) 

Procedure:

Step 1: Stop the agent and replace gson-2.8.2.jar with it's latest version gson-2.10.1.jar

Windows: 

i. Navigate to the directory $CANDLEHOMEC\TMAITM6_x64\<dchome>\<version>\ttdc\lib\ext
    where <dchome> would be wbdchome  and <version> would be 8.1.4.0.0 for WebLogic Agent.
ii. Take a backup of gson-2.8.2.jar and replace it with the latest version ie. gson-2.10.1.jar.
     

Linux:

i.Navigate to the directory $CANDLEHOMEC/<dchome>/<version>/ttdc/lib/ext
    where <dchome> would be wbdchome  and <version> would be 8.1.4.0.0 for WebLogic Agent.
ii. Take a backup of gson-2.8.2.jar and replace it with the latest version ie. gson-2.10.1.jar.

Step 2 : Restart the agent.

Get Notified about Future Security Bulletins

References

Off

Acknowledgement

Change History

31 May 2023: Initial Publication

*The CVSS Environment Score is customer environment specific and will ultimately impact the Overall CVSS Score. Customers can evaluate the impact of this vulnerability in their environments by accessing the links in the Reference section of this Security Bulletin.

Disclaimer

According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES ""AS IS"" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY. In addition to other efforts to address potential vulnerabilities, IBM periodically updates the record of components contained in our product offerings. As part of that effort, if IBM identifies previously unidentified packages in a product/service inventory, we address relevant vulnerabilities regardless of CVE date. Inclusion of an older CVEID does not demonstrate that the referenced product has been used by IBM since that date, nor that IBM was aware of a vulnerability as of that date. We are making clients aware of relevant vulnerabilities as we become aware of them. "Affected Products and Versions" referenced in IBM Security Bulletins are intended to be only products and versions that are supported by IBM and have not passed their end-of-support or warranty date. Thus, failure to reference unsupported or extended-support products and versions in this Security Bulletin does not constitute a determination by IBM that they are unaffected by the vulnerability. Reference to one or more unsupported versions in this Security Bulletin shall not create an obligation for IBM to provide fixes for any unsupported or extended-support products or versions.

Document Location

Worldwide

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSVJUL","label":"IBM Application Performance Management"},"Component":"","Platform":[{"code":"PF033","label":"Windows"},{"code":"PF016","label":"Linux"},{"code":"PF002","label":"AIX"},{"code":"PF027","label":"Solaris"}],"Version":"8.1.4","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
14 July 2023

UID

ibm17003477