{"answers":{"affected":"2 open source packages ship an affected version, including org.restlet.jse:org.restlet. It affects 1 product.","exploited":"There is no known exploitation of CVE-2013-4221 in the wild and no public exploit code.","fix":"Upgrade org.restlet.jse:org.restlet to 2.1.4 or later.","what":"CVE-2013-4221 is a high-severity unsafe deserialization vulnerability in n/a, published on 10 Oct 2013. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2013-4221 and fix it if it is affected.\n\nWhat it is: CVE-2013-4221 is a high-severity unsafe deserialization vulnerability in n/a, published on 10 Oct 2013. 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-2013-4221 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.restlet.jse:org.restlet (Maven): affected all versions; fixed in 2.1.4\n- org.restlet.jse:org.restlet (Maven): affected all versions; fixed in 2.1.4\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-2013-4221/ (Markdown: https://insights.sbomify.com/CVE-2013-4221/index.md)","id":"CVE-2013-4221","markdown":"https://insights.sbomify.com/CVE-2013-4221/index.md","name":"CVE-2013-4221","record":{"aliases":["GHSA-92j2-5r7p-6hjw","UBUNTU-CVE-2013-4221"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Java REST library","requires_auth":"none","summary":"Remote attackers can execute arbitrary Java code via crafted XML due to unsafe deserialization in the default configuration of the Restlet library.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"restlet","vendor":"restlet"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-91","name":"XML Injection"},{"id":"CWE-16","name":null}],"description":"The default configuration of the ObjectRepresentation class in Restlet before 2.1.4 deserializes objects from untrusted sources using the Java XMLDecoder, which allows remote attackers to execute arbitrary Java code via crafted XML.","ecosystems":["Maven"],"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":"Restlet is vulnerable to Arbitrary Java Code Execution via crafted XML","id":"CVE-2013-4221","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"deserialization","year":"2013"},"n_packages":2,"n_references":6,"next":{"headline":"Auth bypass in n/a","id":"CVE-2013-4222"},"packages":[{"ecosystem":"Maven","fixed":["2.1.4"],"introduced":["0"],"last_affected":[],"package":"org.restlet.jse:org.restlet","purl":null,"source":"GHSA-92j2-5r7p-6hjw"},{"ecosystem":"Maven","fixed":["2.1.4"],"introduced":["0"],"last_affected":[],"package":"org.restlet.jse:org.restlet","purl":"pkg:maven/org.restlet.jse/org.restlet","source":"GHSA-92j2-5r7p-6hjw"}],"prev":{"headline":"Denial of service in n/a","id":"CVE-2013-4220"},"products":["n/a"],"published":"2013-10-10","related":[{"cvss_score":7.5,"headline":"Restlet Framework Ja-rs extension is vulnerable to XXE when using SimpleXMLProvider","id":"CVE-2017-14868","kev_date_added":null,"published":"2017-11-30"},{"cvss_score":7.5,"headline":"Restlet Framework allows remote attackers to access arbitrary files via a crafted REST API HTTP request","id":"CVE-2017-14949","kev_date_added":null,"published":"2017-11-30"},{"cvss_score":7.5,"headline":"Restlet Arbitrary Java Code Execution via a serialized object","id":"CVE-2013-4271","kev_date_added":null,"published":"2013-10-10"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary Java code via crafted XML due to unsafe deserialization in the default configuration of the Restlet library.","url":"https://insights.sbomify.com/CVE-2013-4221/"}