{"id":"UBUNTU-CVE-2022-37609","details":"Prototype pollution vulnerability in beautify-web js-beautify 1.13.7 via the name variable in options.js.","modified":"2026-05-20T16:08:11.377064313Z","published":"2022-10-11T19:15:00Z","upstream":["CVE-2022-37609"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-37609"},{"type":"REPORT","url":"https://github.com/beautify-web/js-beautify/blob/6fa891e982cc3d615eed9a1a20a4fc50721bff16/js/src/core/options.js#L167"},{"type":"REPORT","url":"https://github.com/beautify-web/js-beautify/issues/2106"},{"type":"REPORT","url":"https://github.com/beautify-web/js-beautify/blob/6fa891e982cc3d615eed9a1a20a4fc50721bff16/js/src/core/options.js#L167.aa"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-37609"}],"affected":[{"package":{"name":"mozjs52","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/mozjs52?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["52.3.1-0ubuntu3","52.3.1-7fakesync1","52.8.1-0ubuntu0.18.04.1","52.9.1-0ubuntu0.18.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmozjs-52-0","binary_version":"52.9.1-0ubuntu0.18.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37609.json"}},{"package":{"name":"mozjs38","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/mozjs38?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["38.8.0~repack1-0ubuntu1","38.8.0~repack1-0ubuntu3","38.8.0~repack1-0ubuntu4"],"ecosystem_specific":{"binaries":[{"binary_version":"38.8.0~repack1-0ubuntu4","binary_name":"libmozjs-38-0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37609.json"}},{"package":{"name":"node-js-beautify","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/node-js-beautify?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.5+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-js-beautify","binary_version":"1.7.5+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37609.json"}},{"package":{"name":"mozjs68","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/mozjs68?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["68.5.0-1~fakesync","68.5.0-2~fakesync","68.6.0-1","68.6.0-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"68.6.0-1ubuntu1","binary_name":"libmozjs-68-0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37609.json"}},{"package":{"name":"mozjs52","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/mozjs52?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["52.9.1-1build1","52.9.1-1ubuntu3"],"ecosystem_specific":{"binaries":[{"binary_name":"libmozjs-52-0","binary_version":"52.9.1-1ubuntu3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37609.json"}},{"package":{"name":"node-js-beautify","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/node-js-beautify?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.2+dfsg-1","1.10.3+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-js-beautify","binary_version":"1.10.3+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37609.json"}},{"package":{"name":"mozjs78","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/mozjs78?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["78.13.0-1","78.15.0-2","78.15.0-4ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmozjs-78-0","binary_version":"78.15.0-4ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37609.json"}},{"package":{"name":"mozjs91","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/mozjs91?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["91.5.1-0ubuntu1","91.6.0-1","91.6.0-2","91.7.0-2","91.10.0-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmozjs-91-0","binary_version":"91.10.0-0ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37609.json"}},{"package":{"name":"node-js-beautify","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/node-js-beautify?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.13.6+dfsg+~0.15.3-1","1.14.0+dfsg+~0.15.3-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.14.0+dfsg+~0.15.3-1","binary_name":"node-js-beautify"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37609.json"}},{"package":{"name":"thunderbird","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/thunderbird?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:91.1.2+build1-0ubuntu1","1:91.3.0+build2-0ubuntu1","1:91.3.1+build1-0ubuntu1","1:91.3.2+build1-0ubuntu1","1:91.4.0+build1.1-0ubuntu1","1:91.4.0+build2-0ubuntu1","1:91.5.0+build1-0ubuntu1","1:91.5.1+build1-0ubuntu1","1:91.6.1+build1-0ubuntu1","1:91.7.0+build1-0ubuntu1","1:91.7.0+build2-0ubuntu1","1:91.8.0+build2-0ubuntu1","1:91.9.1+build1-0ubuntu0.22.04.1","1:91.11.0+build2-0ubuntu0.22.04.1","1:102.2.2+build1-0ubuntu0.22.04.1","1:102.4.2+build2-0ubuntu0.22.04.1","1:102.7.1+build2-0ubuntu0.22.04.1","1:102.8.0+build2-0ubuntu0.22.04.1","1:102.9.0+build1-0ubuntu0.22.04.1","1:102.10.0+build2-0ubuntu0.22.04.1","1:102.11.0+build1-0ubuntu0.22.04.1","1:102.13.0+build1-0ubuntu0.22.04.1","1:102.15.0+build1-0ubuntu0.22.04.1","1:102.15.1+build1-0ubuntu0.22.04.1","1:115.3.1+build1-0ubuntu0.22.04.2","1:115.4.1+build1-0ubuntu0.22.04.1","1:115.5.0+build1-0ubuntu0.22.04.1","1:115.6.0+build2-0ubuntu0.22.04.1","1:115.8.1+build1-0ubuntu0.22.04.1","1:115.9.0+build1-0ubuntu0.22.04.1","1:115.10.1+build1-0ubuntu0.22.04.1","1:115.11.0+build2-0ubuntu0.22.04.1","1:115.12.0+build3-0ubuntu0.22.04.1","1:115.13.0+build5-0ubuntu0.22.04.1","1:115.15.0+build1-0ubuntu0.22.04.1","1:115.16.0+build2-0ubuntu0.22.04.1","1:115.18.0+build1-0ubuntu0.22.04.1","1:128.12.0+build1-0ubuntu0.22.04.1","1:140.7.1+build1-0ubuntu0.22.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"thunderbird","binary_version":"1:140.7.1+build1-0ubuntu0.22.04.1"},{"binary_version":"1:140.7.1+build1-0ubuntu0.22.04.1","binary_name":"thunderbird-gnome-support"},{"binary_name":"thunderbird-mozsymbols","binary_version":"1:140.7.1+build1-0ubuntu0.22.04.1"},{"binary_name":"xul-ext-calendar-timezones","binary_version":"1:140.7.1+build1-0ubuntu0.22.04.1"},{"binary_name":"xul-ext-gdata-provider","binary_version":"1:140.7.1+build1-0ubuntu0.22.04.1"},{"binary_name":"xul-ext-lightning","binary_version":"1:140.7.1+build1-0ubuntu0.22.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37609.json"}},{"package":{"name":"node-js-beautify","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/node-js-beautify?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.14.7+dfsg+~cs1.28.6-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.14.7+dfsg+~cs1.28.6-1","binary_name":"node-js-beautify"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37609.json"}},{"package":{"name":"thunderbird","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/thunderbird?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:115.3.1+build1-0ubuntu1","1:115.4.1+build1-0ubuntu1","1:115.4.3+build1-0ubuntu1","1:115.5.0+build1-0ubuntu1","1:115.5.1+build1-0ubuntu1","1:115.5.2+build2-0ubuntu1","1:115.6.0+build1-0ubuntu1","1:115.6.0+build2-0ubuntu1","1:115.6.1+build1-0ubuntu1","1:115.8.0+build1-0ubuntu1","1:115.8.1+build1+snap2","1:115.8.1+build1+snap3","2:1snap1-0ubuntu1","2:1snap1-0ubuntu3"],"ecosystem_specific":{"binaries":[{"binary_name":"thunderbird","binary_version":"2:1snap1-0ubuntu3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37609.json"}},{"package":{"name":"node-js-beautify","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/node-js-beautify?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.15.4+dfsg+~cs1.31.6-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-js-beautify","binary_version":"1.15.4+dfsg+~cs1.31.6-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37609.json"}},{"package":{"name":"thunderbird","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/thunderbird?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:1snap1-0ubuntu3"],"ecosystem_specific":{"binaries":[{"binary_name":"thunderbird","binary_version":"2:1snap1-0ubuntu3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37609.json"}},{"package":{"name":"node-js-beautify","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/node-js-beautify?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.15.4+dfsg+~cs1.31.6-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-js-beautify","binary_version":"1.15.4+dfsg+~cs1.31.6-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37609.json"}},{"package":{"name":"thunderbird","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/thunderbird?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:1snap1-0ubuntu3","2:1snap1-0ubuntu4","2:1snap1-0ubuntu5"],"ecosystem_specific":{"binaries":[{"binary_version":"2:1snap1-0ubuntu5","binary_name":"thunderbird"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37609.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}