Lucene search

K
ibmIBME0E5C09F1C81A5998CF1832EDD8EAA5173D7C79568EA17366F30E35B8FCA63B8
HistoryJun 09, 2022 - 10:48 p.m.

Security Bulletin: IBM Db2 Mirror for i is vulnerable to directory traversal due to Moment.js (CVE-2022-24785)

2022-06-0922:48:37
www.ibm.com
52
ibm db2
mirror for i
directory traversal
moment.js
chart.js 3.7.1
cve-2022-24785
vulnerability
ptf
ibm i

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:L/Au:N/C:N/I:P/A:N

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

EPSS

0.003

Percentile

71.1%

Summary

The IBM Db2 Mirror for i GUI uses Chart.js for data presentation and charting features. The version of Chart.js used by IBM Db2 Mirror for i depends upon Moment.js which is vulnerable to CVE-2022-24785 as described in the vulnerability details section. IBM has addressed the vulnerability for IBM Db2 Mirror for i by upgrading to Chart.js 3.7.1 which no longer depends upon Moment.js.

Vulnerability Details

CVEID:CVE-2022-24785
**DESCRIPTION:**Moment.js could allow a remote attacker to traverse directories on the system, caused by improper validation of user supplied input. An attacker could send a specially-crafted locale string containing β€œdot dot” sequences (/…/) to switch arbitrary moment locale.
CVSS Base score: 7.5
CVSS Temporal Score: See: https://exchange.xforce.ibmcloud.com/vulnerabilities/223451 for the current score.
CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N)

Affected Products and Versions

Affected Product(s) Version(s)
IBM Db2 Mirror for i 7.5
IBM Db2 Mirror for i 7.4

Remediation/Fixes

IBM strongly recommends addressing the vulnerability now.

The vulnerability can be fixed by applying a PTF to IBM i. Releases 7.5 and 7.4 of IBM Db2 Mirror for i are supported and will be fixed.

The PTF numbers containing the fix for this vulnerability are in the following table. IBM recommends installing the group PTF rather than the individual fix.

Affected Product(s)|Version(s)|

**Group PTF Number **and Minimum Level
for Remediation

| 5770-DBM PTF Number
for Remediation

β€”|β€”|β€”|β€”
IBM Db2 Mirror for i| 7.5| SF99951 level 1| SI79449
IBM Db2 Mirror for i| 7.4| SF99668 level 19| SI79448

Workarounds and Mitigations

None

Affected configurations

Vulners
Node
ibmiMatch7.4
OR
ibmiMatch7.5
OR
ibmibm_i_7.4Match7.4
OR
ibmdb2_mirror_for_iMatch7.4
OR
ibmdb2_mirror_for_iMatch7.5
VendorProductVersionCPE
ibmi7.4cpe:2.3:o:ibm:i:7.4:*:*:*:*:*:*:*
ibmi7.5cpe:2.3:o:ibm:i:7.5:*:*:*:*:*:*:*
ibmibm_i_7.47.4cpe:2.3:a:ibm:ibm_i_7.4:7.4:*:*:*:*:*:*:*
ibmdb2_mirror_for_i7.4cpe:2.3:a:ibm:db2_mirror_for_i:7.4:*:*:*:*:*:*:*
ibmdb2_mirror_for_i7.5cpe:2.3:a:ibm:db2_mirror_for_i:7.5:*:*:*:*:*:*:*

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:L/Au:N/C:N/I:P/A:N

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

EPSS

0.003

Percentile

71.1%