{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-21679 exists.","fix":"Apply the vendor's patch.","what":"CVE-2020-21679 is a medium-severity memory corruption vulnerability in Graphicsmagick Graphicsmagick, published on 22 Aug 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2020-21679 and fix it if it is affected.\n\nWhat it is: CVE-2020-21679 is a medium-severity memory corruption vulnerability in Graphicsmagick Graphicsmagick, published on 22 Aug 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-21679 exists.\n\nAffected product: Graphicsmagick Graphicsmagick. 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-2020-21679/ (Markdown: https://insights.sbomify.com/CVE-2020-21679/index.md)","id":"CVE-2020-21679","markdown":"https://insights.sbomify.com/CVE-2020-21679/index.md","name":"CVE-2020-21679","record":{"aliases":["DEBIAN-CVE-2020-21679","GHSA-5c8v-qg3w-p36f","OESA-2023-1811","OESA-2023-1817","OESA-2023-1818","OESA-2023-1819","OESA-2023-1820","SUSE-SU-2023:3739-1","SUSE-SU-2023:3792-1","UBUNTU-CVE-2020-21679"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"GraphicsMagick image library","requires_auth":"none","summary":"Remote attackers can cause denial of service in GraphicsMagick by converting a crafted image file to PCX format due to a buffer overflow.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"graphicsmagick","vendor":"graphicsmagick"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"Buffer Overflow vulnerability in WritePCXImage function in pcx.c in GraphicsMagick 1.4 allows remote attackers to cause a denial of service via converting of crafted image file to pcx format.","ecosystems":["SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Software Development Kit 12 SP5","SUSE:Linux Enterprise Workstation Extension 12 SP5","openSUSE:Leap 15.4"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2020-21679","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"graphicsmagick:graphicsmagick","products":["graphicsmagick:graphicsmagick"],"type":"memory_corruption","year":"2020"},"n_packages":5,"n_references":1,"next":{"headline":"Memory corruption in n/a","id":"CVE-2020-21680"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["6.8.8.1-71.198.1"],"introduced":["0"],"last_affected":[],"package":"ImageMagick","purl":"pkg:rpm/suse/ImageMagick\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2023:3739-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["6.8.8.1-71.198.1"],"introduced":["0"],"last_affected":[],"package":"ImageMagick","purl":"pkg:rpm/suse/ImageMagick\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2023:3739-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["6.8.8.1-71.198.1"],"introduced":["0"],"last_affected":[],"package":"ImageMagick","purl":"pkg:rpm/suse/ImageMagick\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2023:3739-1"},{"ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP5","fixed":["6.8.8.1-71.198.1"],"introduced":["0"],"last_affected":[],"package":"ImageMagick","purl":"pkg:rpm/suse/ImageMagick\u0026distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2012%20SP5","source":"SUSE-SU-2023:3739-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["7.0.7.34-150200.10.54.1"],"introduced":["0"],"last_affected":[],"package":"ImageMagick","purl":"pkg:rpm/opensuse/ImageMagick\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2023:3792-1"}],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2020-21678"},"products":["n/a"],"published":"2023-08-22","related":[{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2008-6071","kev_date_added":null,"published":"2009-02-06"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2019-11005","kev_date_added":null,"published":"2019-04-08"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-11636","kev_date_added":null,"published":"2017-07-26"},{"cvss_score":9.8,"headline":"Null dereference in n/a","id":"CVE-2017-11637","kev_date_added":null,"published":"2017-07-26"},{"cvss_score":9.8,"headline":"Denial of service in n/a","id":"CVE-2017-11641","kev_date_added":null,"published":"2017-07-26"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-11643","kev_date_added":null,"published":"2017-07-26"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2016-7996","kev_date_added":null,"published":"2017-01-18"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"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":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-10-07","vendors":["n/a"]},"summary":"Remote attackers can cause denial of service in GraphicsMagick by converting a crafted image file to PCX format due to a buffer overflow.","url":"https://insights.sbomify.com/CVE-2020-21679/"}