{"id":"CVE-2023-45827","aliases":["GHSA-9w5f-mw3p-pj47"],"url":"https://o3.security/vulnerability/CVE-2023-45827","summary":"Prototype Pollution vulnerability in @clickbar/dot-diver","details":"### Summary\nThere is a Prototype Pollution(PP) vulnerability in dot-diver. It can leads to RCE.\n\n### Details\n```javascript\n//https://github.com/clickbar/dot-diver/tree/main/src/index.ts:277\n\n// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n  objectToSet[lastKey] = value\n```\nIn this code, there is no validation for Prototpye Pollution.\n\n### PoC\n```javascript\nimport { getByPath, setByPath } from '@clickbar/dot-diver'\n\nconsole.log({}.polluted); // undefined\nsetByPath({},'constructor.prototype.polluted', 'foo');\nconsole.log({}.polluted); // foo\n```\n\n### Impact\nIt is Prototype Pollution(PP) and it can leads to Dos, RCE, etc.\n\n### Credits\nTeam : NodeBoB\n\n최지혁   ( Jihyeok Choi )\n\n이동하 ( Lee Dong Ha of ZeroPointer Lab )\n\n강성현    ( kang seonghyeun )\n\n박성진    ( sungjin park )\n\n김찬호    ( Chanho Kim )\n\n이수영    ( Lee Su Young )\n\n김민욱    ( MinUk Kim )\n","published":"2023-11-06T17:25:43.774Z","modified":"2026-10-28T02:30:45.291046462Z","cvss":{"score":7.3,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"@clickbar/dot-diver","fixedVersion":"1.0.2"}],"fix":{"url":"https://github.com/clickbar/dot-diver/commit/98daf567390d816fd378ec998eefe2e97f293d5a","label":"clickbar/dot-diver@98daf56"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/45xxx/CVE-2023-45827.json"},{"type":"ADVISORY","url":"https://github.com/clickbar/dot-diver/security/advisories/GHSA-9w5f-mw3p-pj47"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45827"},{"type":"FIX","url":"https://github.com/clickbar/dot-diver/commit/98daf567390d816fd378ec998eefe2e97f293d5a"},{"type":"WEB","url":"https://github.com/clickbar/dot-diver/commit/9790834cf4c2bca75db00e588e58056dacaf602f"},{"type":"PACKAGE","url":"https://github.com/clickbar/dot-diver"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:30:45.291046462Z"}}