{"id":"CVE-2020-35149","aliases":["GHSA-45q2-34rf-mr94"],"summary":"lib/utils.js in mquery before 3.2.3 allows a pollution attack because a special property (e.g., __proto__) can be copied during a merge or clone operation.","published_at":"2020-12-11T00:00:00Z","modified_at":"2024-08-04T16:55:10.821Z","products":[],"rating":{"severity":"medium","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.010409999638795853,"percentile":0.6472399830818176,"date":"2026-11-19T00:00:00Z"},"priority":7.3,"details":"lib/utils.js in mquery before 3.2.3 allows a pollution attack because a special property (e.g., __proto__) can be copied during a merge or clone operation.","affected_stack":[],"affected_other":[{"ecosystem":"NVD","package":"mquery_project:mquery","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.3"}]}],"fixed":["3.2.3"],"provider":"nvd","source":"CVE-2020-35149","relation":"self"},{"ecosystem":"npm","package":"mquery","purl":"pkg:npm/mquery","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.2.3"}]}],"fixed":["3.2.3"],"provider":"osv","source":"GHSA-45q2-34rf-mr94","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2.1 for RHEL 8","cpe":"cpe:/a:redhat:acm:2.1::el8","status":"fixed","packages":["rhacm2/acm-must-gather-rhel8"],"package_count":1,"fixed":[],"advisories":["RHSA-2021:1369"],"provider":"redhat-vex","source":"CVE-2020-35149"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2020-35149","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2020-35149","license":"CC-BY-4.0","published_at":"2020-12-11T19:00:00Z","modified_at":"2024-08-04T16:55:10.821Z","summary":"lib/utils.js in mquery before 3.2.3 allows a pollution attack because a special property (e.g., __proto__) can be copied during a merge or clone operation.","details":"lib/utils.js in mquery before 3.2.3 allows a pollution attack because a special property (e.g., __proto__) can be copied during a merge or clone operation.","severity":[],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/aheckmann/mquery/commit/792e69fd0a7281a0300be5cade5a6d7c1d468ad4"}]},{"provider":"nvd","source_id":"CVE-2020-35149","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35149","severity":[],"affected":[{"ecosystem":"NVD","package":"mquery_project:mquery","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.3"}]}],"fixed":["3.2.3"],"provider":"nvd","source":"CVE-2020-35149","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-45q2-34rf-mr94","relation":"self","url":"https://osv.dev/vulnerability/GHSA-45q2-34rf-mr94","license":"CC-BY-4.0","published_at":"2020-12-18T18:23:43Z","modified_at":"2023-11-08T04:03:32.275234Z","summary":"Code Injection in mquery","details":"lib/utils.js in mquery before 3.2.3 allows a pollution attack because a special property (e.g., __proto__) can be copied during a merge or clone operation.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","source":"GHSA-45q2-34rf-mr94"}],"affected":[{"ecosystem":"npm","package":"mquery","purl":"pkg:npm/mquery","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.2.3"}]}],"fixed":["3.2.3"],"provider":"osv","source":"GHSA-45q2-34rf-mr94","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35149"},{"type":"WEB","url":"https://github.com/aheckmann/mquery/commit/792e69fd0a7281a0300be5cade5a6d7c1d468ad4"}]},{"provider":"redhat-vex","source_id":"CVE-2020-35149","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2020-35149","license":"CC-BY-4.0","published_at":"2020-12-11T00:00:00Z","modified_at":"2021-09-23T14:38:21Z","summary":"mquery: Code injection via merge or clone operation","details":"A flaw was found in mquery that allows a prototype pollution attack. This flaw allows an attacker to alter the code behavior by modifying the object prototype. A flaw in the lib/utils.js function allows cloning and merging objects without sanitizing their special properties, such as prototype defining \"__proto__\". The highest threat from this vulnerability is to integrity.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","source":"CVE-2020-35149"},{"type":"Red Hat","score":"Moderate","source":"CVE-2020-35149"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2.1 for RHEL 8","cpe":"cpe:/a:redhat:acm:2.1::el8","status":"fixed","packages":["rhacm2/acm-must-gather-rhel8"],"package_count":1,"fixed":[],"advisories":["RHSA-2021:1369"],"provider":"redhat-vex","source":"CVE-2020-35149"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2020/cve-2020-35149.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2020-35149"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1929338"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2020-35149"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35149"},{"type":"WEB","url":"https://github.com/advisories/GHSA-45q2-34rf-mr94"},{"type":"WEB","url":"https://portswigger.net/daily-swig/prototype-pollution-the-dangerous-and-underrated-vulnerability-impacting-javascript-applications"}]}],"references":[{"type":"WEB","url":"https://github.com/aheckmann/mquery/commit/792e69fd0a7281a0300be5cade5a6d7c1d468ad4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35149"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2020/cve-2020-35149.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2020-35149"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1929338"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2020-35149"},{"type":"WEB","url":"https://github.com/advisories/GHSA-45q2-34rf-mr94"},{"type":"WEB","url":"https://portswigger.net/daily-swig/prototype-pollution-the-dangerous-and-underrated-vulnerability-impacting-javascript-applications"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2020-35149","url":"https://www.cve.org/CVERecord?id=CVE-2020-35149","license":"CC-BY-4.0","modified_at":"2024-08-04T16:55:10.821Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2020-35149","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35149","relation":"self"},{"provider":"osv","source_id":"GHSA-45q2-34rf-mr94","url":"https://osv.dev/vulnerability/GHSA-45q2-34rf-mr94","license":"CC-BY-4.0","modified_at":"2023-11-08T04:03:32.275234Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2020-35149","url":"https://access.redhat.com/security/cve/CVE-2020-35149","license":"CC-BY-4.0","modified_at":"2021-09-23T14:38:21Z","relation":"self"}]}
