{"answers":{"affected":"2 open source packages ship an affected version, including org.apache.sling:org.apache.sling.api. It affects 1 product.","exploited":"There is no known exploitation of CVE-2013-2254 in the wild and no public exploit code.","fix":"Upgrade org.apache.sling:org.apache.sling.api to 2.4.0 or later.","what":"CVE-2013-2254 is a medium-severity denial of service vulnerability in n/a, published on 17 Oct 2013. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2013-2254 and fix it if it is affected.\n\nWhat it is: CVE-2013-2254 is a medium-severity denial of service vulnerability in n/a, published on 17 Oct 2013. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2013-2254 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.sling:org.apache.sling.api (Maven): affected all versions; fixed in 2.4.0\n- org.apache.sling:org.apache.sling.api (Maven): affected all versions; fixed in 2.4.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-2013-2254/ (Markdown: https://insights.sbomify.com/CVE-2013-2254/index.md)","id":"CVE-2013-2254","markdown":"https://insights.sbomify.com/CVE-2013-2254/index.md","name":"CVE-2013-2254","record":{"aliases":["GHSA-cxwh-vmhg-39r2"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache Sling servlets","requires_auth":"low_privilege","summary":"Remote attackers can cause a denial of service via infinite loop in Apache Sling servlets post bundle when handling null permissions.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"org.apache.sling.servlets.post","vendor":"apache"}],"cvss":{"score":5,"severity":"medium","source":"nvd","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","version":"2.0"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"description":"The deepGetOrCreateNode function in impl/operations/AbstractCreateOperation.java in org.apache.sling.servlets.post.bundle 2.2.0 and 2.3.0 in Apache Sling does not properly handle a NULL value that returned when the session does not have permissions to the root node, which allows remote attackers to cause a denial of service (infinite loop) via unspecified vectors.","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":"Improper Restriction of Operations within the Bounds of a Memory Buffer in Apache Sling","id":"CVE-2013-2254","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2013"},"n_packages":2,"n_references":5,"next":{"headline":"OpenStack Keystone and other components vulnerable to Improper Certificate Validation","id":"CVE-2013-2255"},"packages":[{"ecosystem":"Maven","fixed":["2.4.0"],"introduced":["0"],"last_affected":[],"package":"org.apache.sling:org.apache.sling.api","purl":null,"source":"GHSA-cxwh-vmhg-39r2"},{"ecosystem":"Maven","fixed":["2.4.0"],"introduced":["0"],"last_affected":[],"package":"org.apache.sling:org.apache.sling.api","purl":"pkg:maven/org.apache.sling/org.apache.sling.api","source":"GHSA-cxwh-vmhg-39r2"}],"prev":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2013-2252"},"products":["n/a"],"published":"2013-10-17","related":[{"cvss_score":5,"headline":"Apache Sling POST Servlets Denial of Service Vulnerability","id":"CVE-2012-2138","kev_date_added":null,"published":"2012-07-09"}],"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 cause a denial of service via infinite loop in Apache Sling servlets post bundle when handling null permissions.","url":"https://insights.sbomify.com/CVE-2013-2254/"}