{"id":"USN-5559-1","summary":"node-moment vulnerabilities","details":"It was discovered that Moment.js incorrectly handled certain input paths. An \nattacker could possibly use this issue to cause a loss of integrity by \nchanging the correct path to one of their choice. (CVE-2022-24785)\n\nIt was discovered that Moment.js incorrectly handled certain input. An attacker \ncould possibly use this issue to cause a denial of service. (CVE-2022-31129)\n","modified":"2026-04-27T16:14:50.711994Z","published":"2022-08-10T11:13:31Z","related":["UBUNTU-CVE-2022-24785","UBUNTU-CVE-2022-31129"],"upstream":["CVE-2022-24785","CVE-2022-31129","UBUNTU-CVE-2022-24785","UBUNTU-CVE-2022-31129"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5559-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-24785"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-31129"}],"affected":[{"package":{"name":"node-moment","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/node-moment@2.20.1+ds-1ubuntu0.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.20.1+ds-1ubuntu0.1"}]}],"versions":["2.18.1+ds-1","2.19.1+ds-1","2.19.2+ds-1","2.19.3+ds-1","2.19.4+ds-1","2.20.1+ds-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.20.1+ds-1ubuntu0.1","binary_name":"libjs-moment"},{"binary_version":"2.20.1+ds-1ubuntu0.1","binary_name":"node-moment"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5559-1.json","cves_map":{"cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2022-24785"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2022-31129"}],"ecosystem":"Ubuntu:18.04:LTS"}}},{"package":{"name":"node-moment","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/node-moment@2.24.0+ds-2ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.24.0+ds-2ubuntu0.1"}]}],"versions":["2.24.0+ds-1","2.24.0+ds-2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.24.0+ds-2ubuntu0.1","binary_name":"libjs-moment"},{"binary_version":"2.24.0+ds-2ubuntu0.1","binary_name":"node-moment"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5559-1.json","cves_map":{"cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2022-24785"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2022-31129"}],"ecosystem":"Ubuntu:20.04:LTS"}}},{"package":{"name":"node-moment","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/node-moment@2.29.1+ds-3ubuntu0.2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.29.1+ds-3ubuntu0.2"}]}],"versions":["2.29.1+ds-2","2.29.1+ds-3"],"ecosystem_specific":{"binaries":[{"binary_version":"2.29.1+ds-3ubuntu0.2","binary_name":"libjs-moment"},{"binary_version":"2.29.1+ds-3ubuntu0.2","binary_name":"node-moment"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5559-1.json","cves_map":{"cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2022-24785"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2022-31129"}],"ecosystem":"Ubuntu:22.04:LTS"}}}],"schema_version":"1.7.5"}