{"answers":{"affected":"2 open source packages ship an affected version, including fiona.","exploited":"There is no known exploitation of GHSA-g4m4-9q4c-mfw6 in the wild and no public exploit code.","fix":"Upgrade fiona to 1.10b2 or later.","what":"GHSA-g4m4-9q4c-mfw6 is a denial of service vulnerability in fiona, published on 16 Jul 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for GHSA-g4m4-9q4c-mfw6 and fix it if it is affected.\n\nWhat it is: GHSA-g4m4-9q4c-mfw6 is a denial of service vulnerability in fiona, published on 16 Jul 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of GHSA-g4m4-9q4c-mfw6 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- fiona (PyPI): affected all versions; fixed in 1.10b2\n- fiona (PyPI): affected all versions; fixed in 1.10b2\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/GHSA-g4m4-9q4c-mfw6/ (Markdown: https://insights.sbomify.com/GHSA-g4m4-9q4c-mfw6/index.md)","id":"GHSA-g4m4-9q4c-mfw6","markdown":"https://insights.sbomify.com/GHSA-g4m4-9q4c-mfw6/index.md","name":"GHSA-g4m4-9q4c-mfw6","record":{"aliases":[],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Python geospatial library","requires_auth":"none","summary":"A denial of service vulnerability in libjpeg, a transitive dependency of Fiona, may cause excessive memory consumption when processing malformed PROJ grid files.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### Summary\nVulnerability scan of fiona shows [CVE-2020-14152](https://nvd.nist.gov/vuln/detail/CVE-2020-14152). The vulnerability is in libjpeg, a transitive dependency of fiona (via GDAL and PROJ).\n\n### Details\nIn IJG JPEG (aka libjpeg) before 9d, jpeg_mem_available() in jmemnobs.c in djpeg does not honor the max_memory_to_use setting, possibly causing excessive memory consumption.\n\n### Impact\nfiona will not open JPEG files and is not vulnerable to attack in that way. fiona might be vulnerable to malformed PROJ grid files using JPEG compression. No such vulnerability or compromise has been demonstrated.","ecosystems":["PyPI"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Fiona affected by CVE-2020-14152 related to madler-zlib","id":"GHSA-g4m4-9q4c-mfw6","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":2,"n_references":null,"packages":[{"ecosystem":"PyPI","fixed":["1.10b2"],"introduced":["0"],"last_affected":[],"package":"fiona","purl":null,"source":"GHSA-g4m4-9q4c-mfw6"},{"ecosystem":"PyPI","fixed":["1.10b2"],"introduced":["0"],"last_affected":[],"package":"fiona","purl":"pkg:pypi/fiona","source":"GHSA-g4m4-9q4c-mfw6"}],"products":null,"published":"2024-07-16","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"A denial of service vulnerability in libjpeg, a transitive dependency of Fiona, may cause excessive memory consumption when processing malformed PROJ grid files.","url":"https://insights.sbomify.com/GHSA-g4m4-9q4c-mfw6/"}