ADVISORIES

Ubuntu Security Notice

USN-5559-1

node-moment vulnerabilities

Details

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)

Affected packages

EcosystemPackageAffected versions
Ubuntu:18.04:LTSnode-moment
All versions before 2.20.1+ds-1ubuntu0.1 (fixed in 2.20.1+ds-1ubuntu0.1)
Ubuntu:20.04:LTSnode-moment
All versions before 2.24.0+ds-2ubuntu0.1 (fixed in 2.24.0+ds-2ubuntu0.1)
Ubuntu:22.04:LTSnode-moment
All versions before 2.29.1+ds-3ubuntu0.2 (fixed in 2.29.1+ds-3ubuntu0.2)

References