{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-0699 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2022-0699 is a critical use after free vulnerability in shapelib, published on 17 Oct 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-0699 and fix it if it is affected.\n\nWhat it is: CVE-2022-0699 is a critical use after free vulnerability in shapelib, published on 17 Oct 2022. 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-2022-0699 in the wild and no public exploit code.\n\nAffected product: shapelib. 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-0699/ (Markdown: https://insights.sbomify.com/CVE-2022-0699/index.md)","id":"CVE-2022-0699","markdown":"https://insights.sbomify.com/CVE-2022-0699/index.md","name":"CVE-2022-0699","record":{"aliases":["AZL-28599","AZL-37034","DEBIAN-CVE-2022-0699","DLA-4451-1","GHSA-j5p4-42cc-2j44","MGASA-2022-0096","OESA-2022-1858","UBUNTU-CVE-2022-0699","openSUSE-SU-2022:0068-1","openSUSE-SU-2024:11863-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"shapelib library","requires_auth":"none","summary":"A double-free vulnerability in shapelib allows attackers to cause denial of service or potentially execute code via controlled memory allocation.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"fedora","cpe":[{"product":"shapelib","vendor":"osgeo"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-415","name":"Double Free"},{"id":"CWE-416","name":"Use After Free"}],"description":"A double-free condition exists in contrib/shpsort.c of shapelib 1.5.0 and older releases. This issue may allow an attacker to cause a denial of service or have other unspecified impact via control over malloc.","ecosystems":["SUSE:Package Hub 15 SP3","openSUSE:Leap 15.3","openSUSE:Tumbleweed"],"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":"Use after free in shapelib","id":"CVE-2022-0699","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"use_after_free","year":"2022"},"n_packages":3,"n_references":2,"next":{"headline":"Simple Theme Options \u003c 1.7 - Admin+ Stored Cross-Site Scripting","id":"CVE-2022-0700"},"packages":[{"ecosystem":"SUSE:Package Hub 15 SP3","fixed":["1.5.0-bp153.2.3.1"],"introduced":["0"],"last_affected":[],"package":"shapelib","purl":"pkg:rpm/suse/shapelib\u0026distro=SUSE%20Package%20Hub%2015%20SP3","source":"openSUSE-SU-2022:0068-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["1.5.0-bp153.2.3.1"],"introduced":["0"],"last_affected":[],"package":"shapelib","purl":"pkg:rpm/opensuse/shapelib\u0026distro=openSUSE%20Leap%2015.3","source":"openSUSE-SU-2022:0068-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.5.0-2.1"],"introduced":["0"],"last_affected":[],"package":"shapelib","purl":"pkg:rpm/opensuse/shapelib\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:11863-1"}],"prev":{"headline":"Microweber vulnerable to cross-site scripting (XSS)","id":"CVE-2022-0698"},"products":["shapelib"],"published":"2022-10-17","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-01-24","vendors":["n/a"]},"summary":"A double-free vulnerability in shapelib allows attackers to cause denial of service or potentially execute code via controlled memory allocation.","url":"https://insights.sbomify.com/CVE-2022-0699/"}