Lucene search

K
ubuntucveUbuntu.comUB:CVE-2022-24785
HistoryApr 04, 2022 - 12:00 a.m.

CVE-2022-24785

2022-04-0400:00:00
ubuntu.com
ubuntu.com
48
moment.js
javascript
path traversal

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%

Moment.js is a JavaScript date library for parsing, validating,
manipulating, and formatting dates. A path traversal vulnerability impacts
npm (server) users of Moment.js between versions 1.0.1 and 2.29.1,
especially if a user-provided locale string is directly used to switch
moment locale. This problem is patched in 2.29.2, and the patch can be
applied to all affected versions. As a workaround, sanitize the
user-provided locale name before passing it to Moment.js.

Bugs

OSVersionArchitecturePackageVersionFilename
ubuntu16.04noarchnikola<Β anyUNKNOWN
ubuntu18.04noarchnode-moment<Β 2.20.1+ds-1ubuntu0.1UNKNOWN
ubuntu20.04noarchnode-moment<Β 2.24.0+ds-2ubuntu0.1UNKNOWN
ubuntu22.04noarchnode-moment<Β 2.29.1+ds-3ubuntu0.2UNKNOWN
ubuntu16.04noarchnode-moment<Β anyUNKNOWN

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%