USN-4786-1: Moment.js vulnerabilities
15 March 2021
Several security issues were fixed in Moment.js.
Releases
Packages
- node-moment - Work with dates in JavaScript (Node.js module)
Details
It was discovered that Moment.js mishandled certain regular expressions. An
attacker could use this vulnerability to cause a denial of service.
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 16.04
-
node-moment
-
2.11.0+ds-1ubuntu0.1~esm1
Available with Ubuntu Pro
-
libjs-moment
-
2.11.0+ds-1ubuntu0.1~esm1
Available with Ubuntu Pro
In general, a standard system update will make all the necessary changes.