{"answers":{"affected":"2 open source packages ship an affected version, including @clickbar/dot-diver. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-45827 exists.","fix":"Upgrade @clickbar/dot-diver to 1.0.2 or later.","what":"CVE-2023-45827 is a high-severity vulnerability in clickbar dot-diver, published on 6 Nov 2023."},"fix_prompt":"Check this codebase for CVE-2023-45827 and fix it if it is affected.\n\nWhat it is: CVE-2023-45827 is a high-severity vulnerability in clickbar dot-diver, published on 6 Nov 2023. \nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-45827 exists.\n\nAffected packages and fixed versions:\n- @clickbar/dot-diver (npm): affected all versions; fixed in 1.0.2\n- @clickbar/dot-diver (npm): affected all versions; fixed in 1.0.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-45827/ (Markdown: https://insights.sbomify.com/CVE-2023-45827/index.md)","id":"CVE-2023-45827","markdown":"https://insights.sbomify.com/CVE-2023-45827/index.md","name":"CVE-2023-45827","record":{"aliases":["GHSA-9w5f-mw3p-pj47"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[{"product":"dot-diver","vendor":"clickbar"}],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"description":"Dot diver is a lightweight, powerful, and dependency-free TypeScript utility library that provides types and functions to work with object paths in dot notation. In versions prior to 1.0.2 there is a Prototype Pollution vulnerability in the `setByPath` function which can leads to remote code execution (RCE). This issue has been addressed in commit `98daf567` which has been included in release 1.0.2. Users are advised to upgrade. There are no known workarounds to this vulnerability.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":"2024-08-21","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2024-08-21T04:40:33Z","kind":"github_poc","ref":"https://github.com/200101WhoAmI/CVE-2023-45827","stars":0,"title":"pp"}],"tier":"weaponised"},"has_fix":true,"headline":"Prototype Pollution vulnerability in @clickbar/dot-diver","id":"CVE-2023-45827","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2023"},"n_packages":2,"n_references":2,"next":{"headline":"WordPress RumbleTalk Live Group Chat plugin \u003c= 6.2.5 - Broken Access Control vulnerability","id":"CVE-2023-45828"},"packages":[{"ecosystem":"npm","fixed":["1.0.2"],"introduced":["0"],"last_affected":[],"package":"@clickbar/dot-diver","purl":null,"source":"GHSA-9w5f-mw3p-pj47"},{"ecosystem":"npm","fixed":["1.0.2"],"introduced":["0"],"last_affected":[],"package":"@clickbar/dot-diver","purl":"pkg:npm/%40clickbar/dot-diver","source":"GHSA-9w5f-mw3p-pj47"}],"prev":{"headline":"Authenticated SQL Injection in leantime","id":"CVE-2023-45826"},"products":["dot-diver"],"published":"2023-11-06","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-04","vendors":["clickbar"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2023-45827/"}