{
  "cveId": "CVE-2022-24785",
  "url": "https://patchblox.com/security/cve/CVE-2022-24785",
  "summary": "CVE-2022-24785 is fixed in 2 products on 1 platform, first by DEBIAN-CVE-2022-24785, released April 4, 2022. It is not reported as exploited. Patch Radar priority: High.",
  "title": "node-moment: Moment.js is a JavaScript date library for parsing, validating, manipulating, and formatting dates",
  "description": "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.",
  "published": "2022-04-04T10:15:00Z",
  "severity": "high",
  "cvss": 7.5,
  "cvssVector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
  "epss": 0.1384,
  "epssPercentile": 0.96548,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "libjs-moment",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "2.20.1\u002Bds-1ubuntu0.1",
      "fix": "libjs-moment 2.20.1\u002Bds-1ubuntu0.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-libjs-moment-2.20.1-ds-1ubuntu0.1",
      "released": "2022-07-06T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "libjs-moment",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "2.24.0\u002Bds-2ubuntu0.1",
      "fix": "libjs-moment 2.24.0\u002Bds-2ubuntu0.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-libjs-moment-2.24.0-ds-2ubuntu0.1",
      "released": "2022-07-06T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "libjs-moment",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "2.29.1\u002Bds-3ubuntu0.2",
      "fix": "libjs-moment 2.29.1\u002Bds-3ubuntu0.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-libjs-moment-2.29.1-ds-3ubuntu0.2",
      "released": "2022-07-06T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "node-moment",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "2.29.2\u002Bds-1",
      "fix": "DEBIAN-CVE-2022-24785",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-24785",
      "released": "2022-04-04T17:15:07Z"
    },
    {
      "platform": "linux",
      "product": "node-moment",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "2.29.2\u002Bds-1",
      "fix": "DEBIAN-CVE-2022-24785",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-24785",
      "released": "2022-04-04T17:15:07Z"
    },
    {
      "platform": "linux",
      "product": "node-moment",
      "release": "Debian 14",
      "fixedVersion": "2.29.2\u002Bds-1",
      "fix": "DEBIAN-CVE-2022-24785",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-24785",
      "released": "2022-04-04T17:15:07Z"
    },
    {
      "platform": "linux",
      "product": "node-moment",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "2.20.1\u002Bds-1ubuntu0.1",
      "fix": "node-moment 2.20.1\u002Bds-1ubuntu0.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-node-moment-2.20.1-ds-1ubuntu0.1",
      "released": "2022-07-06T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "node-moment",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "2.24.0\u002Bds-2ubuntu0.1",
      "fix": "node-moment 2.24.0\u002Bds-2ubuntu0.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-node-moment-2.24.0-ds-2ubuntu0.1",
      "released": "2022-07-06T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "node-moment",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "2.29.1\u002Bds-3ubuntu0.2",
      "fix": "node-moment 2.29.1\u002Bds-3ubuntu0.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-node-moment-2.29.1-ds-3ubuntu0.2",
      "released": "2022-07-06T11:15:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-09T01:18:40Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}