{"answers":{"affected":"14 open source packages ship an affected version, including @intlify/vue-i18n-core, @intlify/shared and petite-vue-i18n.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-52810 exists.","fix":"Upgrade @intlify/vue-i18n-core to a fixed version for your release line: 10.0.5 or 9.14.2.","what":"CVE-2024-52810 is a medium-severity vulnerability in intlify vue-i18n, published on 29 Nov 2024."},"fix_prompt":"Check this codebase for CVE-2024-52810 and fix it if it is affected.\n\nWhat it is: CVE-2024-52810 is a medium-severity vulnerability in intlify vue-i18n, published on 29 Nov 2024. \nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-52810 exists.\n\nAffected packages and fixed versions:\n- @intlify/vue-i18n-core (npm): affected from 10.0.0; fixed in 10.0.5\n- @intlify/vue-i18n-core (npm): affected from 10.0.0; fixed in 10.0.5\n- @intlify/vue-i18n-core (npm): affected from 9.7.0; fixed in 9.14.2\n- @intlify/vue-i18n-core (npm): affected from 9.7.0; fixed in 9.14.2\n- @intlify/shared (npm): affected from 10.0.0; fixed in 10.0.5\n- @intlify/shared (npm): affected from 10.0.0; fixed in 10.0.5\n- @intlify/shared (npm): affected from 9.7.0; fixed in 9.14.2\n- @intlify/shared (npm): affected from 9.7.0; fixed in 9.14.2\n- petite-vue-i18n (npm): affected from 10.0.0; fixed in 10.0.5\n- petite-vue-i18n (npm): affected from 10.0.0; fixed in 10.0.5\n- vue-i18n (npm): affected from 10.0.0; fixed in 10.0.5\n- vue-i18n (npm): affected from 10.0.0; fixed in 10.0.5\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-52810/ (Markdown: https://insights.sbomify.com/CVE-2024-52810/index.md)","id":"CVE-2024-52810","markdown":"https://insights.sbomify.com/CVE-2024-52810/index.md","name":"CVE-2024-52810","record":{"aliases":["GHSA-hjwq-mjwj-4x6c"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"description":"@intlify/shared is a shared library for the intlify project. The latest version of @intlify/shared (10.0.4) is vulnerable to Prototype Pollution through the entry function(s) lib.deepCopy. An attacker can supply a payload with Object.prototype setter to introduce or modify properties within the global prototype chain, causing denial of service (DoS) as the minimum consequence. Moreover, the consequences of this vulnerability can escalate to other injection-based attacks, depending on how the library integrates within the application. For instance, if the polluted property propagates to sensitive Node.js APIs (e.g., exec, eval), it could enable an attacker to execute arbitrary commands within the application's context. This issue has been addressed in versions 9.14.2, and 10.0.5. Users are advised to upgrade. There are no known workarounds for this vulnerability.","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":"Prototype Pollution in @intlify/shared \u003e=9.7.0 \u003c= 10.0.4","id":"CVE-2024-52810","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2024"},"n_packages":14,"n_references":2,"next":{"headline":"Acks not validated before logged to qlog leads to buffer overflow in ngtcp2","id":"CVE-2024-52811"},"packages":[{"ecosystem":"npm","fixed":["10.0.5"],"introduced":["10.0.0"],"last_affected":[],"package":"@intlify/shared","purl":null,"source":"GHSA-hjwq-mjwj-4x6c"},{"ecosystem":"npm","fixed":["10.0.5"],"introduced":["10.0.0"],"last_affected":[],"package":"@intlify/shared","purl":"pkg:npm/%40intlify/shared","source":"GHSA-hjwq-mjwj-4x6c"},{"ecosystem":"npm","fixed":["9.14.2"],"introduced":["9.7.0"],"last_affected":[],"package":"@intlify/shared","purl":null,"source":"GHSA-hjwq-mjwj-4x6c"},{"ecosystem":"npm","fixed":["9.14.2"],"introduced":["9.7.0"],"last_affected":[],"package":"@intlify/shared","purl":"pkg:npm/%40intlify/shared","source":"GHSA-hjwq-mjwj-4x6c"},{"ecosystem":"npm","fixed":["10.0.5"],"introduced":["10.0.0"],"last_affected":[],"package":"@intlify/vue-i18n-core","purl":null,"source":"GHSA-hjwq-mjwj-4x6c"},{"ecosystem":"npm","fixed":["10.0.5"],"introduced":["10.0.0"],"last_affected":[],"package":"@intlify/vue-i18n-core","purl":"pkg:npm/%40intlify/vue-i18n-core","source":"GHSA-hjwq-mjwj-4x6c"},{"ecosystem":"npm","fixed":["9.14.2"],"introduced":["9.7.0"],"last_affected":[],"package":"@intlify/vue-i18n-core","purl":null,"source":"GHSA-hjwq-mjwj-4x6c"},{"ecosystem":"npm","fixed":["9.14.2"],"introduced":["9.7.0"],"last_affected":[],"package":"@intlify/vue-i18n-core","purl":"pkg:npm/%40intlify/vue-i18n-core","source":"GHSA-hjwq-mjwj-4x6c"},{"ecosystem":"npm","fixed":["10.0.5"],"introduced":["10.0.0"],"last_affected":[],"package":"petite-vue-i18n","purl":null,"source":"GHSA-hjwq-mjwj-4x6c"},{"ecosystem":"npm","fixed":["10.0.5"],"introduced":["10.0.0"],"last_affected":[],"package":"petite-vue-i18n","purl":"pkg:npm/petite-vue-i18n","source":"GHSA-hjwq-mjwj-4x6c"},{"ecosystem":"npm","fixed":["10.0.5"],"introduced":["10.0.0"],"last_affected":[],"package":"vue-i18n","purl":null,"source":"GHSA-hjwq-mjwj-4x6c"},{"ecosystem":"npm","fixed":["10.0.5"],"introduced":["10.0.0"],"last_affected":[],"package":"vue-i18n","purl":"pkg:npm/vue-i18n","source":"GHSA-hjwq-mjwj-4x6c"},{"ecosystem":"npm","fixed":["9.14.2"],"introduced":["9.7.0"],"last_affected":[],"package":"vue-i18n","purl":null,"source":"GHSA-hjwq-mjwj-4x6c"},{"ecosystem":"npm","fixed":["9.14.2"],"introduced":["9.7.0"],"last_affected":[],"package":"vue-i18n","purl":"pkg:npm/vue-i18n","source":"GHSA-hjwq-mjwj-4x6c"}],"prev":{"headline":"Cross-site Scripting vulnerability with prototype pollution in vue-i18n","id":"CVE-2024-52809"},"products":["vue-i18n"],"published":"2024-11-29","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-12-03","vendors":["intlify"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2024-52810/"}