Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

DLA-3295-1

Active Unknown

node-moment - security update

Published
31 Jan 2023, 00:00:00 UTC

Related CVEs

CVE identifiers linked by this publisher.

2
Publisher relationship details 2 records
Explicit publisher CVE relationships
CVEPublisher evidence
CVE-2022-24785https://security-tracker.debian.org/tracker/CVE-2022-24785
CVE-2022-31129https://security-tracker.debian.org/tracker/CVE-2022-31129

Description

CVE-2022-24785: 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

Read full publisher description 1278 characters

CVE-2022-24785: 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. CVE-2022-31129: moment is a JavaScript date library for parsing, validating, manipulating, and formatting dates. Affected versions of moment were found to use an inefficient parsing algorithm. Specifically using string-to-date parsing in moment (more specifically rfc2822 parsing, which is tried by default) has quadratic (N^2) complexity on specific inputs. Users may notice a noticeable slowdown is observed with inputs above 10k characters. Users who pass user-provided strings without sanity length checks to moment constructor are vulnerable to (Re)DoS attacks. The problem is patched in 2.29.4, the patch can be applied to all affected versions with minimal tweaking. Users are advised to upgrade. Users unable to upgrade should consider limiting date lengths accepted from user input.

No solution guidance was provided.

Affected packages

Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.

1

Shared package data

Applies to this occurrence
Package role
Source package
Ecosystem
Debian:buster
Fixed version
2.24.0+ds-1+deb10u1

Affected ranges and events

  • ECOSYSTEMRepository Not supplied in this record
    • Fixed at 2.24.0+ds-1+deb10u1
  1. 1node-momentSource package

CVSS assessments

Publisher supplied scores and vectors; these do not replace the advisory severity above.

0

No CVSS assessments were provided.

Publisher references

3
  • DLA-3295-1 advisory · Tags: Unknown https://www.debian.org/lts/security/2023/dla-3295
  • CVE-2022-24785 report · Tags: Unknown https://security-tracker.debian.org/tracker/CVE-2022-24785
  • CVE-2022-31129 report · Tags: Unknown https://security-tracker.debian.org/tracker/CVE-2022-31129

Provenance

Schema version
Unknown
Parser version
debian-dsa-dla-tracker/1
Attribution
Debian Security Team
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
structured_advisory_listhttps://salsa.debian.org/security-tracker-team/security-tracker/-/raw/master/data/DLA/listUnknownc3f5db374daba9cdd5c4ca3ba816cf6ac6efe0935cbe80141b545062fcabefabdebian-dsa-dla-tracker/1Unknown

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected