p PatchFirst

PatchFirst · Свежие уязвимости

Уязвимости node-moment

За последние 30 дней в node-moment опубликовано уязвимостей: 0; в каталоге KEV: 0.

Фильтры уязвимостей
Сбросить фильтры

Уязвимостей: 5

  1. CVE-2026-17495

    Средний · CVSS 5.9EPSS 0,52%Нет опубликованного исправления

    moment vulnerable to Path Traversal via crafted non-string locale name

    moment is a JavaScript date library for parsing, validating, manipulating, and formatting dates. In versions 2.29.2 through 2.30.1, a specially crafted non-string object passed to moment.locale() can bypass the locale-name path-traversal guard. The guard assumes the input is a string, so an object whose match() method satisfies the check while its toString() returns a traversal path reaches an internal require() call with attacker-controlled path segments. This is an incomplete fix for CVE-2022-24785 and primarily affects npm (server-side) users that pass user-provided input directly to moment.locale(). The issue is fixed in moment 2.31.0, an

    Опубликовано Обновлено
  2. CVE-2022-31129

    Высокий · CVSS 7.5EPSS 5,55%Есть исправление

    Inefficient Regular Expression Complexity in moment

    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 tw

    • Обновитесь до 2.29.4+ds-1
  3. CVE-2022-24785

    Высокий · CVSS 7.5EPSS 13,84%Есть исправление

    Path Traversal in Moment.js

    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.

    • Обновитесь до 2.29.2+ds-1
    Опубликовано Обновлено
  4. CVE-2017-18214

    Высокий · CVSS 7.5EPSS 3,65%Есть исправление

    CVE-2017-18214

    The moment module before 2.19.3 for Node.js is prone to a regular expression denial of service via a crafted date string, a different vulnerability than CVE-2016-4055.

    • Обновитесь до 2.19.3+ds-1
    Опубликовано Обновлено
  5. CVE-2016-4055

    Средний · CVSS 6.5EPSS 9,9%Есть исправление

    CVE-2016-4055

    The duration function in the moment package before 2.11.2 for Node.js allows remote attackers to cause a denial of service (CPU consumption) via a long string, aka a "regular expression Denial of Service (ReDoS)."

    • Обновитесь до 2.13.0+ds-1
    Опубликовано Обновлено

Проверьте свой сервер

Сопоставьте установленный стек и версии со свежими базами уязвимостей.

Проверьте свой сервер →