It was discovered that Moment.js did not properly validate locale names. If an application passed an untrusted locale name to Moment.js, an attacker could possibly use this issue to load arbitrary files from the file system.
{
"availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "libjs-moment",
"binary_version": "2.11.0+ds-1ubuntu0.1~esm2"
},
{
"binary_name": "node-moment",
"binary_version": "2.11.0+ds-1ubuntu0.1~esm2"
}
]
}
{
"cves": [
{
"id": "CVE-2022-24785",
"severity": [
{
"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": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:16.04:LTS"
}
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9117-1.json"