Security Bulletin: IBM Db2 Web Query for i is vulnerable to arbitrary code execution due to Apache Commons Text [CVE-2022-42889]

Summary

Db2 Web Query is vulnerable to arbitrary code execution due to Apache Commons Text [CVE-2022-42889]. Apache Commons Text is used by IBM Db2 Web Query for i for string functionality. The fix includes Apache Commons Text 1.10.0.

Vulnerability Details

CVEID:   CVE-2022-42889
DESCRIPTION:   Apache Commons Text could allow a remote attacker to execute arbitrary code on the system, caused by an insecure interpolation defaults flaw. By sending a specially-crafted input, an attacker could exploit this vulnerability to execute arbitrary code on the system.
CVSS Base score: 9.8
CVSS Temporal Score: See: https://exchange.xforce.ibmcloud.com/vulnerabilities/238560 for the current score.
CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)

Affected Products and Versions

Affected Product(s)Version(s)IBM Db2 Web Query for i2.3.0IBM Db2 Web Query for i2.4.0

Remediation/Fixes

IBM strongly recommends addressing the vulnerability now.

Release 2.3.0 and 2.4.0 are supported and can be fixed by applying Program Temporary Fixes (PTFs) to the IBM i.

The PTF numbers containing the fix for this vulnerability are in the following table.

 

Important note:
IBM recommends that all users running unsupported versions of affected products upgrade to a supported and fixed version of affected products.

Workarounds and Mitigations

None

References

Off

Change History

13 Feb 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.

[{“Business Unit”:{“code”:”BU058″,”label”:”IBM Infrastructure w/TPS”},”Product”:{“code”:”SSTS2D”,”label”:”IBM i 7.3 Preventative Service Planning”},”Component”:””,”Platform”:[{“code”:”PF012″,”label”:”IBM i”}],”Version”:”7.3″,”Edition”:””,”Line of Business”:{“code”:”LOB57″,”label”:”Power”}},{“Business Unit”:{“code”:”BU058″,”label”:”IBM Infrastructure w/TPS”},”Product”:{“code”:”SS9QQS”,”label”:”IBM i 7.4 Preventative Service Planning”},”Component”:””,”Platform”:[{“code”:”PF012″,”label”:”IBM i”}],”Version”:”7.4″,”Edition”:””,”Line of Business”:{“code”:”LOB57″,”label”:”Power”}},{“Business Unit”:{“code”:”BU058″,”label”:”IBM Infrastructure w/TPS”},”Product”:{“code”:”SSAUST”,”label”:”Db2 Web Query for i”},”Component”:””,”Platform”:[{“code”:”PF012″,”label”:”IBM i”}],”Version”:”2.4.0, 2.3.0 “,”Edition”:””,”Line of Business”:{“code”:”LOB57″,”label”:”Power”}},{“Business Unit”:{“code”:”BU058″,”label”:”IBM Infrastructure w/TPS”},”Product”:{“code”:”SWG60″,”label”:”IBM i”},”Component”:””,”Platform”:[{“code”:”PF012″,”label”:”IBM i”}],”Version”:”7.5,7.4,7.3″,”Edition”:””,”Line of Business”:{“code”:”LOB57″,”label”:”Power”}},{“Business Unit”:{“code”:”BU058″,”label”:”IBM Infrastructure w/TPS”},”Product”:{“code”:”SSB23CE”,”label”:”IBM i 7.5 Preventative Service Planning”},”Component”:””,”Platform”:[{“code”:”PF012″,”label”:”IBM i”}],”Version”:”7.5″,”Edition”:””,”Line of Business”:{“code”:”LOB57″,”label”:”Power”}}]

Good Afternoon COMMON Community! Don’t forget to register for today’s FREE Happy Hour with President and CTO at DXR Security – Carol Woodbury. 4:30 CT – Don’t be late! Register here:

Good Afternoon COMMON Community! Don’t forget to register for today’s FREE Happy Hour with President and CTO at DXR Security – Carol Woodbury. 4:30 CT – Don’t be late! Register here: bit.ly/40MUioZ pic.twitter.com/LVRMXGjRUr

– COMMON – A Users Group (@COMMONug)13:36 – Feb 13, 2023

Your #IBMi runs the most important, mission-critical applications in your #IT environment. Are you doing everything you can to ensure the performance, availability, and #security of this system? Join us on Wednesday February 15 to learn more:

Your #IBMi runs the most important, mission-critical applications in your #IT environment. Are you doing everything you can to ensure the performance, availability, and #security of this system? Join us on Wednesday February 15 to learn more: okt.to/p5KQR4 pic.twitter.com/XUGqLV3gww

– Precisely (@PreciselyData)10:00 – Feb 13, 2023

Verified by MonsterInsights