{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2024-38517 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2024-38517 is a medium-severity vulnerability in Tencent RapidJSON, published on 9 Jul 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-38517 and fix it if it is affected.\n\nWhat it is: CVE-2024-38517 is a medium-severity vulnerability in Tencent RapidJSON, published on 9 Jul 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-38517 in the wild and no public exploit code.\n\nAffected product: Tencent RapidJSON. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-38517/ (Markdown: https://insights.sbomify.com/CVE-2024-38517/index.md)","id":"CVE-2024-38517","markdown":"https://insights.sbomify.com/CVE-2024-38517/index.md","name":"CVE-2024-38517","record":{"aliases":["AZL-43245","AZL-43300","AZL-43320","AZL-43543","AZL-45330","BELL-CVE-2024-38517","DEBIAN-CVE-2024-38517","ECHO-8923-801d-a91a","MGASA-2024-0371","OESA-2024-1857","UBUNTU-CVE-2024-38517","USN-7125-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"RapidJSON library","requires_auth":"none","summary":"An attacker can achieve privilege escalation by tricking a user into opening a crafted JSON file that triggers an integer underflow in the RapidJSON parser.","user_interaction":"required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C","version":"3.1"},"cwes":[{"id":"CWE-191","name":"Integer Underflow (Wrap or Wraparound)"}],"description":"Tencent RapidJSON is vulnerable to privilege escalation due to an integer underflow in the `GenericReader::ParseNumber()` function of `include/rapidjson/reader.h` when parsing JSON text from a stream. An attacker needs to send the victim a crafted file which needs to be opened; this triggers the integer underflow vulnerability (when the file is parsed), leading to elevation of privilege.","ecosystems":[],"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":"Integer overflow in RapidJSON","id":"CVE-2024-38517","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"integer_overflow","year":"2024"},"n_packages":0,"n_references":3,"next":{"headline":"bbb-web API additional parameters considered","id":"CVE-2024-38518"},"packages":[],"prev":{"headline":"Aimeos HTML client may potentially reveal sensitive information in error log","id":"CVE-2024-38516"},"products":["RapidJSON"],"published":"2024-07-09","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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-09-05","vendors":["Tencent"]},"summary":"An attacker can achieve privilege escalation by tricking a user into opening a crafted JSON file that triggers an integer underflow in the RapidJSON parser.","url":"https://insights.sbomify.com/CVE-2024-38517/"}