{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-24818 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-24818 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-24818 is a high-severity unsafe deserialization vulnerability in geotools, published on 13 Apr 2022. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-24818 and fix it if it is affected.\n\nWhat it is: CVE-2022-24818 is a high-severity unsafe deserialization vulnerability in geotools, published on 13 Apr 2022. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-24818 in the wild and no public exploit code.\n\nAffected product: geotools. 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-2022-24818/ (Markdown: https://insights.sbomify.com/CVE-2022-24818/index.md)","id":"CVE-2022-24818","markdown":"https://insights.sbomify.com/CVE-2022-24818/index.md","name":"CVE-2022-24818","record":{"aliases":["GHSA-jvh2-668r-g75x"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Java geospatial library","requires_auth":"high_privilege","summary":"An attacker with admin access can trigger unchecked JNDI lookups in GeoTools to achieve arbitrary code execution via deserialization.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"geotools","vendor":"geotools"}],"cvss":{"score":8.2,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-917","name":"Improper Neutralization of Special Elements used in an Expression Language Statement"},{"id":"CWE-20","name":"Improper Input Validation"}],"description":"GeoTools is an open source Java library that provides tools for geospatial data. The GeoTools library has a number of data sources that can perform unchecked JNDI lookups, which in turn can be used to perform class deserialization and result in arbitrary code execution. Similar to the Log4J case, the vulnerability can be triggered if the JNDI names are user-provided, but requires admin-level login to be triggered. The lookups are now restricted in GeoTools 26.4, GeoTools 25.6, and GeoTools 24.6. Users unable to upgrade should ensure that any downstream application should not allow usage of remotely provided JNDI strings.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2024-04-01","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2024-04-01T13:06:31Z","kind":"github_poc","ref":"https://github.com/mbadanoiu/CVE-2022-24818","stars":0,"title":"CVE-2022-24818: Java Deserialization via Unchecked JNDI Lookups in GeoServer and GeoTools"}],"tier":"poc_unverified"},"has_fix":false,"headline":"Unchecked JNDI lookups in GeoTools","id":"CVE-2022-24818","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"deserialization","year":"2022"},"n_packages":0,"n_references":2,"next":{"headline":"Unauthenticated user can retrieve the list of users through uorgsuggest.vm","id":"CVE-2022-24819"},"packages":[],"prev":{"headline":"Improper kubeconfig validation allows arbitrary code execution","id":"CVE-2022-24817"},"products":["geotools"],"published":"2022-04-13","related":[{"cvss_score":9.9,"headline":"GeoTools, GeoServer, and GeoNetwork XML External Entity (XXE) Processing Vulnerability in XSD schema handling","id":"CVE-2025-30220","kev_date_added":null,"published":"2025-06-10"},{"cvss_score":9.8,"headline":"Unfiltered SQL Injection in Geotools","id":"CVE-2023-25158","kev_date_added":null,"published":"2023-02-21"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["geotools"]},"summary":"An attacker with admin access can trigger unchecked JNDI lookups in GeoTools to achieve arbitrary code execution via deserialization.","url":"https://insights.sbomify.com/CVE-2022-24818/"}