{"answers":{"affected":"2 open source packages ship an affected version, including msgpackr. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-52079 in the wild and no public exploit code.","fix":"Upgrade msgpackr to 1.10.1 or later.","what":"CVE-2023-52079 is a medium-severity denial of service vulnerability in kriszyp msgpackr, published on 28 Dec 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-52079 and fix it if it is affected.\n\nWhat it is: CVE-2023-52079 is a medium-severity denial of service vulnerability in kriszyp msgpackr, published on 28 Dec 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-52079 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- msgpackr (npm): affected all versions; fixed in 1.10.1\n- msgpackr (npm): affected all versions; fixed in 1.10.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-2023-52079/ (Markdown: https://insights.sbomify.com/CVE-2023-52079/index.md)","id":"CVE-2023-52079","markdown":"https://insights.sbomify.com/CVE-2023-52079/index.md","name":"CVE-2023-52079","record":{"aliases":["GHSA-7hpj-7hhx-2fgx"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript MessagePack library","requires_auth":"none","summary":"Attackers can cause denial of service in msgpackr by sending crafted messages that trigger infinite recursion during decoding.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"msgpackr","vendor":"kriszyp"}],"cvss":{"score":6.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-754","name":"Improper Check for Unusual or Exceptional Conditions"},{"id":"CWE-674","name":"Uncontrolled Recursion"}],"description":"msgpackr is a fast MessagePack NodeJS/JavaScript implementation. Prior to 1.10.1, when decoding user supplied MessagePack messages, users can trigger stuck threads by crafting messages that keep the decoder stuck in a loop. The fix is available in v1.10.1.  \nExploits seem to require structured cloning, replacing the 0x70 extension with your own (that throws an error or does something other than recursive referencing) should mitigate the issue.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Conversion of property names to strings can trigger infinite recursion","id":"CVE-2023-52079","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"denial_of_service","year":"2023"},"n_packages":2,"n_references":2,"next":{"headline":"Memory corruption in n/a","id":"CVE-2023-52080"},"packages":[{"ecosystem":"npm","fixed":["1.10.1"],"introduced":["0"],"last_affected":[],"package":"msgpackr","purl":null,"source":"GHSA-7hpj-7hhx-2fgx"},{"ecosystem":"npm","fixed":["1.10.1"],"introduced":["0"],"last_affected":[],"package":"msgpackr","purl":"pkg:npm/msgpackr","source":"GHSA-7hpj-7hhx-2fgx"}],"prev":{"headline":"External apps using tokens issued by administrators and moderators can call admin APIs","id":"CVE-2023-52077"},"products":["msgpackr"],"published":"2023-12-28","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)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-27","vendors":["kriszyp"]},"summary":"Attackers can cause denial of service in msgpackr by sending crafted messages that trigger infinite recursion during decoding.","url":"https://insights.sbomify.com/CVE-2023-52079/"}