{"answers":{"affected":"12 open source packages ship an affected version, including @conform-to/dom, @conform-to/yup and @conform-to/zod.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-32866 exists.","fix":"Upgrade @conform-to/dom to a fixed version for your release line: 0.9.2 or 1.1.1.","what":"CVE-2024-32866 is a high-severity vulnerability in edmundhung conform, published on 23 Apr 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-32866 and fix it if it is affected.\n\nWhat it is: CVE-2024-32866 is a high-severity vulnerability in edmundhung conform, published on 23 Apr 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-32866 exists.\n\nAffected packages and fixed versions:\n- @conform-to/dom (npm): affected all versions; fixed in 0.9.2\n- @conform-to/dom (npm): affected all versions; fixed in 0.9.2\n- @conform-to/dom (npm): affected from 1.0.0; fixed in 1.1.1\n- @conform-to/dom (npm): affected from 1.0.0; fixed in 1.1.1\n- @conform-to/yup (npm): affected all versions; fixed in 0.9.2\n- @conform-to/yup (npm): affected all versions; fixed in 0.9.2\n- @conform-to/yup (npm): affected from 1.0.0; fixed in 1.1.1\n- @conform-to/yup (npm): affected from 1.0.0; fixed in 1.1.1\n- @conform-to/zod (npm): affected all versions; fixed in 0.9.2\n- @conform-to/zod (npm): affected all versions; fixed in 0.9.2\n- @conform-to/zod (npm): affected from 1.0.0; fixed in 1.1.1\n- @conform-to/zod (npm): affected from 1.0.0; fixed in 1.1.1\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-2024-32866/ (Markdown: https://insights.sbomify.com/CVE-2024-32866/index.md)","id":"CVE-2024-32866","markdown":"https://insights.sbomify.com/CVE-2024-32866/index.md","name":"CVE-2024-32866","record":{"aliases":["GHSA-624g-8qjg-8qxf"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript form validation library","requires_auth":"none","summary":"Prototype pollution in Conform allows attackers to manipulate object prototypes via crafted inputs, potentially leading to code execution or privilege escalation.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","version":"3.1"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"description":"Conform, a type-safe form validation library, allows the parsing of nested objects in the form of `object.property`. Due to an improper implementation of this feature in versions prior to 1.1.1, an attacker can exploit the feature to trigger prototype pollution by passing a crafted input to `parseWith...` functions. Applications that use conform for server-side validation of form data or URL parameters are affected by this vulnerability. Version 1.1.1 contains a patch for the issue.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Conform contains Prototype Pollution Vulnerability in `parseWith...` function","id":"CVE-2024-32866","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"other","year":"2024"},"n_packages":12,"n_references":3,"next":{"headline":"Suricata's defrag contains various issues leading to policy bypass","id":"CVE-2024-32867"},"packages":[{"ecosystem":"npm","fixed":["0.9.2"],"introduced":["0"],"last_affected":[],"package":"@conform-to/dom","purl":null,"source":"GHSA-624g-8qjg-8qxf"},{"ecosystem":"npm","fixed":["0.9.2"],"introduced":["0"],"last_affected":[],"package":"@conform-to/dom","purl":"pkg:npm/%40conform-to/dom","source":"GHSA-624g-8qjg-8qxf"},{"ecosystem":"npm","fixed":["1.1.1"],"introduced":["1.0.0"],"last_affected":[],"package":"@conform-to/dom","purl":null,"source":"GHSA-624g-8qjg-8qxf"},{"ecosystem":"npm","fixed":["1.1.1"],"introduced":["1.0.0"],"last_affected":[],"package":"@conform-to/dom","purl":"pkg:npm/%40conform-to/dom","source":"GHSA-624g-8qjg-8qxf"},{"ecosystem":"npm","fixed":["0.9.2"],"introduced":["0"],"last_affected":[],"package":"@conform-to/yup","purl":null,"source":"GHSA-624g-8qjg-8qxf"},{"ecosystem":"npm","fixed":["0.9.2"],"introduced":["0"],"last_affected":[],"package":"@conform-to/yup","purl":"pkg:npm/%40conform-to/yup","source":"GHSA-624g-8qjg-8qxf"},{"ecosystem":"npm","fixed":["1.1.1"],"introduced":["1.0.0"],"last_affected":[],"package":"@conform-to/yup","purl":null,"source":"GHSA-624g-8qjg-8qxf"},{"ecosystem":"npm","fixed":["1.1.1"],"introduced":["1.0.0"],"last_affected":[],"package":"@conform-to/yup","purl":"pkg:npm/%40conform-to/yup","source":"GHSA-624g-8qjg-8qxf"},{"ecosystem":"npm","fixed":["0.9.2"],"introduced":["0"],"last_affected":[],"package":"@conform-to/zod","purl":null,"source":"GHSA-624g-8qjg-8qxf"},{"ecosystem":"npm","fixed":["0.9.2"],"introduced":["0"],"last_affected":[],"package":"@conform-to/zod","purl":"pkg:npm/%40conform-to/zod","source":"GHSA-624g-8qjg-8qxf"},{"ecosystem":"npm","fixed":["1.1.1"],"introduced":["1.0.0"],"last_affected":[],"package":"@conform-to/zod","purl":null,"source":"GHSA-624g-8qjg-8qxf"},{"ecosystem":"npm","fixed":["1.1.1"],"introduced":["1.0.0"],"last_affected":[],"package":"@conform-to/zod","purl":"pkg:npm/%40conform-to/zod","source":"GHSA-624g-8qjg-8qxf"}],"prev":{"headline":"exacqVison - TLS certificate validation","id":"CVE-2024-32865"},"products":["conform"],"published":"2024-04-23","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["edmundhung"]},"summary":"Prototype pollution in Conform allows attackers to manipulate object prototypes via crafted inputs, potentially leading to code execution or privilege escalation.","url":"https://insights.sbomify.com/CVE-2024-32866/"}