Packages
- node-moment - Work with dates in JavaScript (Node.js module)
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)
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
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 | ||
---|---|---|---|
22.04 jammy | node-moment – 2.29.1+ds-3ubuntu0.2 | ||
libjs-moment – 2.29.1+ds-3ubuntu0.2 | |||
20.04 focal | node-moment – 2.24.0+ds-2ubuntu0.1 | ||
libjs-moment – 2.24.0+ds-2ubuntu0.1 | |||
18.04 bionic | node-moment – 2.20.1+ds-1ubuntu0.1 | ||
libjs-moment – 2.20.1+ds-1ubuntu0.1 |
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.