USN-4786-1: Moment.js vulnerabilities
Publication date
15 March 2021
Overview
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.
It was discovered that Moment.js mishandled certain regular expressions. An
attacker could use this vulnerability to cause a denial of service.
Update instructions
In general, a standard system update will make all the necessary changes.
Learn more about how to get the fixes.The problem can be corrected by updating your system to the following package versions:
| Ubuntu Release | Package Version | ||
|---|---|---|---|
| 16.04 LTS xenial | node-moment – 2.11.0+ds-1ubuntu0.1~esm1 | ||
| libjs-moment – 2.11.0+ds-1ubuntu0.1~esm1 | |||
Reduce your security exposure
Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.