USN-5559-1

Type: Security
Severity: Medium
Published: 2022-08-10
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 20.04 LTS (Focal Fossa)

It was discovered that Moment.js incorrectly handled certain input paths. An attacker could possibly use this issue to cause a loss of integrity by changing the correct path to one of their choice. (CVE-2022-24785) It was discovered that Moment.js incorrectly handled certain input. An attacker could possibly use this issue to cause a denial of service. (CVE-2022-31129) Update Instructions: Run `sudo pro fix USN-5559-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: node-moment - 2.29.1+ds-3ubuntu0.2 libjs-moment - 2.29.1+ds-3ubuntu0.2 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T02:49:42.558Z UTC

Official vendor advisory

Ubuntu 22.04 LTS (Jammy Jellyfish)

View source
Observed 2026-11-28T02:49:42.558Z UTC. Last updated 2025-11-26T07:29:45.160Z UTC.

Upstream Advisory

Affected Packages

  • node-moment 2.29.1+ds-3ubuntu0.2-2.29.1+ds-3ubuntu0.2

  • libjs-moment 2.29.1+ds-3ubuntu0.2-2.29.1+ds-3ubuntu0.2

  • node-moment 2.24.0+ds-2ubuntu0.1-2.24.0+ds-2ubuntu0.1

  • libjs-moment 2.24.0+ds-2ubuntu0.1-2.24.0+ds-2ubuntu0.1

Interested in being alerted when there are new versions of node-moment and the other packages? Set up an alert.
USN-5559-1: Moment.js vulnerabilities | Package Alert