{"answers":{"affected":"8 open source packages ship an affected version, including net.minidev:json-smart and net.minidev:json-smart-mini. It affects 7 products.","exploited":"There is no known exploitation of CVE-2021-27568 in the wild and no public exploit code.","fix":"Upgrade net.minidev:json-smart to a fixed version for your release line: 1.3.2, 2.3.1 or 2.4.1.","what":"CVE-2021-27568 is a medium-severity denial of service vulnerability in Oracle Communications Cloud Native Core Policy, published on 23 Feb 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-27568 and fix it if it is affected.\n\nWhat it is: CVE-2021-27568 is a medium-severity denial of service vulnerability in Oracle Communications Cloud Native Core Policy, published on 23 Feb 2021. 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-2021-27568 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- net.minidev:json-smart (Maven): affected all versions; fixed in 1.3.2\n- net.minidev:json-smart (Maven): affected all versions; fixed in 1.3.2\n- net.minidev:json-smart (Maven): affected from 2.0.0; fixed in 2.3.1\n- net.minidev:json-smart (Maven): affected from 2.0.0; fixed in 2.3.1\n- net.minidev:json-smart (Maven): affected from 2.4.0; fixed in 2.4.1\n- net.minidev:json-smart (Maven): affected from 2.4.0; fixed in 2.4.1\n- net.minidev:json-smart-mini (Maven): affected all versions; fixed in 1.3.2\n- net.minidev:json-smart-mini (Maven): affected all versions; fixed in 1.3.2\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-2021-27568/ (Markdown: https://insights.sbomify.com/CVE-2021-27568/index.md)","id":"CVE-2021-27568","markdown":"https://insights.sbomify.com/CVE-2021-27568/index.md","name":"CVE-2021-27568","record":{"aliases":["GHSA-v528-7hrm-frqp"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Java JSON library","requires_auth":"none","summary":"An uncaught exception in the json-smart library can cause application crashes or leak sensitive information, requiring developers to upgrade the dependency.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"json-smart-v1","vendor":"json-smart_project"},{"product":"json-smart-v2","vendor":"json-smart_project"},{"product":"communications_cloud_native_core_policy","vendor":"oracle"},{"product":"oss_support_tools","vendor":"oracle"},{"product":"peoplesoft_enterprise_peopletools","vendor":"oracle"},{"product":"utilities_framework","vendor":"oracle"},{"product":"weblogic_server","vendor":"oracle"}],"cvss":{"score":5.9,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-754","name":"Improper Check for Unusual or Exceptional Conditions"}],"description":"An issue was discovered in netplex json-smart-v1 through 2015-10-23 and json-smart-v2 through 2.4. An exception is thrown from a function, but it is not caught, as demonstrated by NumberFormatException. When it is not caught, it may cause programs using the library to crash or expose sensitive information.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2025-07-07","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-07-07T18:53:47Z","kind":"github_poc","ref":"https://github.com/arsalanraja987/java-insecure-random-cve-2021-27568","stars":0,"title":"Demo of CVE-2021-27568: Insecure randomness in token generation"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Improper Check for Unusual or Exceptional Conditions in json-smart","id":"CVE-2021-27568","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"oracle:communications_cloud_native_core_policy","products":["oracle:communications_cloud_native_core_policy","oracle:peoplesoft_enterprise_peopletools","oracle:weblogic_server"],"type":"denial_of_service","year":"2021"},"n_packages":8,"n_references":8,"next":{"headline":"Missing authorization in n/a","id":"CVE-2021-27569"},"packages":[{"ecosystem":"Maven","fixed":["1.3.2"],"introduced":["0"],"last_affected":[],"package":"net.minidev:json-smart","purl":null,"source":"GHSA-v528-7hrm-frqp"},{"ecosystem":"Maven","fixed":["1.3.2"],"introduced":["0"],"last_affected":[],"package":"net.minidev:json-smart","purl":"pkg:maven/net.minidev/json-smart","source":"GHSA-v528-7hrm-frqp"},{"ecosystem":"Maven","fixed":["2.3.1"],"introduced":["2.0.0"],"last_affected":[],"package":"net.minidev:json-smart","purl":null,"source":"GHSA-v528-7hrm-frqp"},{"ecosystem":"Maven","fixed":["2.3.1"],"introduced":["2.0.0"],"last_affected":[],"package":"net.minidev:json-smart","purl":"pkg:maven/net.minidev/json-smart","source":"GHSA-v528-7hrm-frqp"},{"ecosystem":"Maven","fixed":["2.4.1"],"introduced":["2.4.0"],"last_affected":[],"package":"net.minidev:json-smart","purl":null,"source":"GHSA-v528-7hrm-frqp"},{"ecosystem":"Maven","fixed":["2.4.1"],"introduced":["2.4.0"],"last_affected":[],"package":"net.minidev:json-smart","purl":"pkg:maven/net.minidev/json-smart","source":"GHSA-v528-7hrm-frqp"},{"ecosystem":"Maven","fixed":["1.3.2"],"introduced":["0"],"last_affected":[],"package":"net.minidev:json-smart-mini","purl":null,"source":"GHSA-v528-7hrm-frqp"},{"ecosystem":"Maven","fixed":["1.3.2"],"introduced":["0"],"last_affected":[],"package":"net.minidev:json-smart-mini","purl":"pkg:maven/net.minidev/json-smart-mini","source":"GHSA-v528-7hrm-frqp"}],"prev":{"headline":"Denial of service in n/a","id":"CVE-2021-27565"},"products":["n/a"],"published":"2021-02-23","related":[{"cvss_score":7.5,"headline":"Out of bounds read in json-smart","id":"CVE-2021-31684","kev_date_added":null,"published":"2021-06-01"}],"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["n/a"]},"summary":"An uncaught exception in the json-smart library can cause application crashes or leak sensitive information, requiring developers to upgrade the dependency.","url":"https://insights.sbomify.com/CVE-2021-27568/"}