IBM Support

Security Bulletin: Multiple Vulnerabilities of Apache HttpClient and Jackson-mapper have affected IBM Tivoli Monitoring for Virtual Environments Agent for Linux Kernel-based Virtual Machines

Security Bulletin


Summary

IBM Tivoli Monitoring for Virtual Environments Agent for Linux Kernel-based Virtual Machines is vulnerable to Apache HttpClient and jackson-mapper as described in 220912, CVE-2020-13956, CVE-2019-10202, CVE-2019-10172. The fix includes upgrading required libraries to latest version.

Vulnerability Details

CVEID:   CVE-2020-13956
DESCRIPTION:   Apache HttpClient could allow a remote attacker to bypass security restrictions, caused by the improper handling of malformed authority component in request URIs. By passing request URIs to the library as java.net.URI object, an attacker could exploit this vulnerability to pick the wrong target host for request execution.
CVSS Base score: 5.3
CVSS Temporal Score: See: https://exchange.xforce.ibmcloud.com/vulnerabilities/189572 for the current score.
CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)

CVEID:   CVE-2019-10202
DESCRIPTION:   Red Hat JBoss Enterprise Application Platform (EAP) could allow a remote attacker to execute arbitrary code on the system, caused by improper deserialization in Codehaus. By sending a specially-crafted request, an attacker could exploit this vulnerability to execute arbitrary code on the system.
CVSS Base score: 8.1
CVSS Temporal Score: See: https://exchange.xforce.ibmcloud.com/vulnerabilities/168251 for the current score.
CVSS Vector: (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H)

CVEID:   CVE-2019-10172
DESCRIPTION:   Jackson-mapper-asl could allow a remote attacker to obtain sensitive information, caused by an XML external entity (XXE) error when processing XML data. By sending a specially-crafted XML data, a remote attacker could exploit this vulnerability to obtain sensitive information.
CVSS Base score: 5.9
CVSS Temporal Score: See: https://exchange.xforce.ibmcloud.com/vulnerabilities/172436 for the current score.
CVSS Vector: (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N)

IBM X-Force ID:   220912
DESCRIPTION:   Apache HttpComponents Client could allow a remote attacker to traverse directories on the system, caused by improper validation of user requests. An attacker could send a specially-crafted URL request containing "dot dot" sequences (/../) to view files on the system.
CVSS Base score: 5.3
CVSS Temporal Score: See: https://exchange.xforce.ibmcloud.com/vulnerabilities/220912 for the current score.
CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N)

Affected Products and Versions

Affected Product(s)Version(s)
IBM Tivoli Monitoring for Virtual Environments Agent for Linux Kernel-based Virtual MachinesAll

Remediation/Fixes

None

Workarounds and Mitigations

Mentioned libraries must be upgraded from Maven Repository: Search/Browse/Explore (mvnrepository.com) 

1.httpclient-4.5.13.jar

2.httpcore-4.4.14.jar

3.jackson-annotations-2.14.0.jar

4.jackson-core-2.14.0.jar

5.jackson-databind-2.14.0.jar

6.sdk-4.4.3.jar

Step 1: Replace Upgraded libraries

A:
Navigate to the directory $CANDLEHOME/<architecture>/v1/lib
where <architecture> is    
                  | 32-bit Agent system architecture: li6263
                     | 64-bit Agent system architecture: lx8266
Take backup of this directory
 
B:
Replace existing jars with the latest ones.
 
Step 2: Modify DataProvider script
 
A: 
Navigate to the directory $CANDLEHOME/<architecture>/v1/bin
where <architecture> is    
                  | 32-bit Agent system architecture: li6263
                     | 64-bit Agent system architecture: lx8266

 Take a backup of the file kv1_data_provider.sh
 
B:
KV1_CLASSPATH="${AGENT_LIB_DIR}/cpci.jar:${AGENT_LIB_DIR}/jna.jar:${AGENT_LIB_DIR}/libvirt-0.5.1-itmfvs.jar:${AGENT_LIB_DIR}/kv1_data_provider.jar:${AGENT_LIB_DIR}/commons-logging-1.1.1.jar:${AGENT_LIB_DIR}/sdk-4.3.0.jar:${AGENT_LIB_DIR}/httpcore-4.4.4.jar:${AGENT_LIB_DIR}/httpclient-4.5.jar:${AGENT_LIB_DIR}/slf4j-api-1.7.7.jar:${AGENT_LIB_DIR}/slf4j-nop-1.7.25.jar:${AGENT_LIB_DIR}/jackson-core-asl-1.9.13.jar:${AGENT_LIB_DIR}/jackson-mapper-asl-1.9.13.jar":"${CLASSPATH}"
Replace above line with
 
KV1_CLASSPATH="${AGENT_LIB_DIR}/cpci.jar:${AGENT_LIB_DIR}/jna.jar:${AGENT_LIB_DIR}/libvirt-0.5.1-itmfvs.jar:${AGENT_LIB_DIR}/kv1_data_provider.jar:${AGENT_LIB_DIR}/commons-logging-1.1.1.jar:${AGENT_LIB_DIR}/sdk-4.4.3.jar:${AGENT_LIB_DIR}/httpcore-4.4.14.jar:${AGENT_LIB_DIR}/httpclient-4.5.13.jar:${AGENT_LIB_DIR}/slf4j-api-1.7.7.jar:${AGENT_LIB_DIR}/slf4j-nop-1.7.25.jar:${AGENT_LIB_DIR}/jackson-core-2.14.0.jar:${AGENT_LIB_DIR}/jackson-databind-2.14.0.jar:${AGENT_LIB_DIR}/jackson-annotations-2.14.0.jar":"${CLASSPATH}"
 
Step 3:
Restart the agent.
 

 

Get Notified about Future Security Bulletins

References

Off

Acknowledgement

Change History

12 Jul 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":"SSR36TS","label":"IBM Tivoli Monitoring"},"Component":"","Platform":[{"code":"PF016","label":"Linux"}],"Version":"All agent versions upto : 07.20.08.00","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
12 July 2023

UID

ibm17011385