{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-27845 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2021-27845 is a medium-severity denial of service vulnerability in Jasper Project Jasper, published on 15 Jul 2021. 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-2021-27845 and fix it if it is affected.\n\nWhat it is: CVE-2021-27845 is a medium-severity denial of service vulnerability in Jasper Project Jasper, published on 15 Jul 2021. 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: There is no known exploitation of CVE-2021-27845 in the wild and no public exploit code.\n\nAffected product: Jasper Project Jasper. 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-2021-27845/ (Markdown: https://insights.sbomify.com/CVE-2021-27845/index.md)","id":"CVE-2021-27845","markdown":"https://insights.sbomify.com/CVE-2021-27845/index.md","name":"CVE-2021-27845","record":{"aliases":["GHSA-6xx8-4xh5-jh9w","OESA-2021-1347","SUSE-SU-2022:0561-1","SUSE-SU-2022:0562-1","SUSE-SU-2022:0562-2","UBUNTU-CVE-2021-27845","openSUSE-SU-2022:0562-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"JasPer image library","requires_auth":"none","summary":"A divide-by-zero error in the JasPer image coding toolkit allows attackers to cause a denial of service via crafted input.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"jasper","vendor":"jasper_project"}],"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-369","name":"Divide By Zero"}],"description":"A Divide-by-zero vulnerability exists in JasPer Image Coding Toolkit 2.0 in jasper/src/libjasper/jpc/jpc_enc.c","ecosystems":["SUSE:Enterprise Storage 6","SUSE:Enterprise Storage 7","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise Module for Basesystem 15 SP3","SUSE:Linux Enterprise Module for Basesystem 15 SP4","SUSE:Linux Enterprise Module for Desktop Applications 15 SP3","SUSE:Linux Enterprise Module for Desktop Applications 15 SP4","SUSE:Linux Enterprise Real Time 15 SP2","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Software Development Kit 12 SP5","openSUSE:Leap 15.3"],"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":"Denial of service in n/a","id":"CVE-2021-27845","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"jasper_project:jasper","products":["jasper_project:jasper"],"type":"denial_of_service","year":"2021"},"n_packages":17,"n_references":1,"next":{"headline":"Denial of service in n/a","id":"CVE-2021-27847"},"packages":[{"ecosystem":"SUSE:Enterprise Storage 6","fixed":["2.0.14-3.22.1"],"introduced":["0"],"last_affected":[],"package":"jasper","purl":"pkg:rpm/suse/jasper\u0026distro=SUSE%20Enterprise%20Storage%206","source":"SUSE-SU-2022:0562-2"},{"ecosystem":"SUSE:Enterprise Storage 7","fixed":["2.0.14-3.22.1"],"introduced":["0"],"last_affected":[],"package":"jasper","purl":"pkg:rpm/suse/jasper\u0026distro=SUSE%20Enterprise%20Storage%207","source":"SUSE-SU-2022:0562-2"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["2.0.14-3.22.1"],"introduced":["0"],"last_affected":[],"package":"jasper","purl":"pkg:rpm/suse/jasper\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2022:0562-2"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["2.0.14-3.22.1"],"introduced":["0"],"last_affected":[],"package":"jasper","purl":"pkg:rpm/suse/jasper\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2022:0562-2"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP3","fixed":["2.0.14-3.22.1"],"introduced":["0"],"last_affected":[],"package":"jasper","purl":"pkg:rpm/suse/jasper\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP3","source":"SUSE-SU-2022:0562-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP4","fixed":["2.0.14-3.22.1"],"introduced":["0"],"last_affected":[],"package":"jasper","purl":"pkg:rpm/suse/jasper\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4","source":"SUSE-SU-2022:0562-2"},{"ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15 SP3","fixed":["2.0.14-3.22.1"],"introduced":["0"],"last_affected":[],"package":"jasper","purl":"pkg:rpm/suse/jasper\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP3","source":"SUSE-SU-2022:0562-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15 SP4","fixed":["2.0.14-3.22.1"],"introduced":["0"],"last_affected":[],"package":"jasper","purl":"pkg:rpm/suse/jasper\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP4","source":"SUSE-SU-2022:0562-2"},{"ecosystem":"SUSE:Linux Enterprise Real Time 15 SP2","fixed":["2.0.14-3.22.1"],"introduced":["0"],"last_affected":[],"package":"jasper","purl":"pkg:rpm/suse/jasper\u0026distro=SUSE%20Linux%20Enterprise%20Real%20Time%2015%20SP2","source":"SUSE-SU-2022:0562-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["1.900.14-195.28.1"],"introduced":["0"],"last_affected":[],"package":"jasper","purl":"pkg:rpm/suse/jasper\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2022:0561-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","fixed":["2.0.14-3.22.1"],"introduced":["0"],"last_affected":[],"package":"jasper","purl":"pkg:rpm/suse/jasper\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSS","source":"SUSE-SU-2022:0562-2"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","fixed":["2.0.14-3.22.1"],"introduced":["0"],"last_affected":[],"package":"jasper","purl":"pkg:rpm/suse/jasper\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSS","source":"SUSE-SU-2022:0562-2"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["1.900.14-195.28.1"],"introduced":["0"],"last_affected":[],"package":"jasper","purl":"pkg:rpm/suse/jasper\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2022:0561-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","fixed":["2.0.14-3.22.1"],"introduced":["0"],"last_affected":[],"package":"jasper","purl":"pkg:rpm/suse/jasper\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1","source":"SUSE-SU-2022:0562-2"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP2","fixed":["2.0.14-3.22.1"],"introduced":["0"],"last_affected":[],"package":"jasper","purl":"pkg:rpm/suse/jasper\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2","source":"SUSE-SU-2022:0562-2"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["1.900.14-195.28.1"],"introduced":["0"],"last_affected":[],"package":"jasper","purl":"pkg:rpm/suse/jasper\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2022:0561-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["2.0.14-3.22.1"],"introduced":["0"],"last_affected":[],"package":"jasper","purl":"pkg:rpm/opensuse/jasper\u0026distro=openSUSE%20Leap%2015.3","source":"openSUSE-SU-2022:0562-1"}],"prev":{"headline":"Other in n/a","id":"CVE-2021-27839"},"products":["n/a"],"published":"2021-07-15","related":[{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2008-3522","kev_date_added":null,"published":"2008-10-02"},{"cvss_score":9.3,"headline":"Integer overflow in n/a","id":"CVE-2008-3520","kev_date_added":null,"published":"2008-10-02"},{"cvss_score":8.8,"headline":"Integer overflow in n/a","id":"CVE-2015-8751","kev_date_added":null,"published":"2020-02-17"},{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2023-51257","kev_date_added":null,"published":"2024-01-16"},{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2016-8886","kev_date_added":null,"published":"2017-03-23"},{"cvss_score":7.8,"headline":"Integer overflow in n/a","id":"CVE-2016-9387","kev_date_added":null,"published":"2017-03-23"},{"cvss_score":7.8,"headline":"Integer overflow in n/a","id":"CVE-2016-10249","kev_date_added":null,"published":"2017-03-15"}],"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":"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"A divide-by-zero error in the JasPer image coding toolkit allows attackers to cause a denial of service via crafted input.","url":"https://insights.sbomify.com/CVE-2021-27845/"}