{"answers":{"affected":"3 open source packages ship an affected version, including python-cjson. It affects 1 product.","exploited":"There is no known exploitation of CVE-2010-1666 in the wild and no public exploit code.","fix":"Upgrade python-cjson to a fixed version for your release line: 1.0.5.1 or 1.1.0.","what":"CVE-2010-1666 is a medium-severity memory corruption vulnerability in n/a, published on 2 Jul 2010. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2010-1666 and fix it if it is affected.\n\nWhat it is: CVE-2010-1666 is a medium-severity memory corruption vulnerability in n/a, published on 2 Jul 2010. 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-2010-1666 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- python-cjson (PyPI): affected all versions; fixed in 1.0.5.1\n- python-cjson (PyPI): affected all versions; fixed in 1.0.5.1\n- python-cjson (PyPI): affected all versions; fixed in 1.1.0\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-2010-1666/ (Markdown: https://insights.sbomify.com/CVE-2010-1666/index.md)","id":"CVE-2010-1666","markdown":"https://insights.sbomify.com/CVE-2010-1666/index.md","name":"CVE-2010-1666","record":{"aliases":["DSA-2068-1","GHSA-cqmh-mpx2-g633","PYSEC-2010-30","openSUSE-SU-2024:11259-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service","code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Python JSON library","requires_auth":"none","summary":"A buffer overflow in python-cjson allows attackers to cause a crash or potentially execute code via crafted Unicode input when UCS-4 encoding is enabled.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"python-cjson","vendor":"dan_pascu"}],"cvss":{"score":6.8,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"description":"Buffer overflow in Dan Pascu python-cjson 1.0.5, when UCS-4 encoding is enabled, allows context-dependent attackers to cause a denial of service (application crash) or possibly have unspecified other impact via vectors involving crafted Unicode input to the cjson.encode function.","ecosystems":["PyPI"],"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":"Improper Restriction of Operations within the Bounds of a Memory Buffer in python-cjson","id":"CVE-2010-1666","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"memory_corruption","year":"2010"},"n_packages":3,"n_references":5,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2010-1667"},"packages":[{"ecosystem":"PyPI","fixed":["1.0.5.1"],"introduced":["0"],"last_affected":[],"package":"python-cjson","purl":null,"source":"GHSA-cqmh-mpx2-g633"},{"ecosystem":"PyPI","fixed":["1.0.5.1"],"introduced":["0"],"last_affected":[],"package":"python-cjson","purl":"pkg:pypi/python-cjson","source":"GHSA-cqmh-mpx2-g633"},{"ecosystem":"PyPI","fixed":["1.1.0"],"introduced":["0"],"last_affected":[],"package":"python-cjson","purl":"pkg:pypi/python-cjson","source":"PYSEC-2010-30"}],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2010-1665"},"products":["n/a"],"published":"2010-07-02","related":[{"cvss_score":4.3,"headline":"Cross-site Scripting in python-cjson","id":"CVE-2009-4924","kev_date_added":null,"published":"2010-07-02"}],"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":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"A buffer overflow in python-cjson allows attackers to cause a crash or potentially execute code via crafted Unicode input when UCS-4 encoding is enabled.","url":"https://insights.sbomify.com/CVE-2010-1666/"}