{"schemaVersion":3,"id":"CVE-2021-27845","aliases":["SUSE-SU-2022:0561-1","SUSE-SU-2022:0562-1","SUSE-SU-2022:0562-2","UBUNTU-CVE-2021-27845","openSUSE-SU-2022:0562-1"],"status":"published","duplicateOf":null,"title":null,"description":"A Divide-by-zero vulnerability exists in JasPer Image Coding Toolkit 2.0 in jasper/src/libjasper/jpc/jpc_enc.c","dates":{"published":"2021-07-15T15:29:06.000Z","modified":"2024-08-03T21:33:16.440Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00653,"percentile":0.5035,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00653},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00653,"percentile":0.5035}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00653,"percentile":0.5035}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_JASPER-SOFTWARE_JASPER","name":"Jasper","source":"github","url":"https://github.com/jasper-software/jasper/issues/252","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-369","name":"Divide By Zero","description":"The product divides a value by zero.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/369.html"}],"affected":[{"vendor":"ubuntu","product":"jasper","name":"jasper","label":"jasper","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/jasper","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"jasper_project","product":"jasper","name":"jasper","label":"jasper","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.0.0, < 2.0.17","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.0.0, < 2.0.17","eol":null,"hubHref":"/vendor/jasper_project/jasper"},{"vendor":"opensuse","product":"jasper&distro=openSUSE Leap 15.3","name":"jasper","label":"jasper&distro=openSUSE Leap 15.3","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/jasper&distro=openSUSE Leap 15.3","purlType":"rpm","versions":[{"text":"< 2.0.14-3.22.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.14-3.22.1","eol":null,"hubHref":null},{"vendor":"suse","product":"jasper&distro=SUSE Enterprise Storage 6","name":"jasper","label":"jasper&distro=SUSE Enterprise Storage 6","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/jasper&distro=SUSE Enterprise Storage 6","purlType":"rpm","versions":[{"text":"< 2.0.14-3.22.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.14-3.22.1","eol":null,"hubHref":null},{"vendor":"suse","product":"jasper&distro=SUSE Enterprise Storage 7","name":"jasper","label":"jasper&distro=SUSE Enterprise Storage 7","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/jasper&distro=SUSE Enterprise Storage 7","purlType":"rpm","versions":[{"text":"< 2.0.14-3.22.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.14-3.22.1","eol":null,"hubHref":null},{"vendor":"suse","product":"jasper&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS","name":"jasper","label":"jasper&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/jasper&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS","purlType":"rpm","versions":[{"text":"< 2.0.14-3.22.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.14-3.22.1","eol":null,"hubHref":null},{"vendor":"suse","product":"jasper&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS","name":"jasper","label":"jasper&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/jasper&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS","purlType":"rpm","versions":[{"text":"< 2.0.14-3.22.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.14-3.22.1","eol":null,"hubHref":null},{"vendor":"suse","product":"jasper&distro=SUSE Linux Enterprise Module for Basesystem 15 SP3","name":"jasper","label":"jasper&distro=SUSE Linux Enterprise Module for Basesystem 15 SP3","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/jasper&distro=SUSE Linux Enterprise Module for Basesystem 15 SP3","purlType":"rpm","versions":[{"text":"< 2.0.14-3.22.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.14-3.22.1","eol":null,"hubHref":null},{"vendor":"suse","product":"jasper&distro=SUSE Linux Enterprise Module for Basesystem 15 SP4","name":"jasper","label":"jasper&distro=SUSE Linux Enterprise Module for Basesystem 15 SP4","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/jasper&distro=SUSE Linux Enterprise Module for Basesystem 15 SP4","purlType":"rpm","versions":[{"text":"< 2.0.14-3.22.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.14-3.22.1","eol":null,"hubHref":null},{"vendor":"suse","product":"jasper&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP3","name":"jasper","label":"jasper&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP3","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/jasper&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP3","purlType":"rpm","versions":[{"text":"< 2.0.14-3.22.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.14-3.22.1","eol":null,"hubHref":null},{"vendor":"suse","product":"jasper&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP4","name":"jasper","label":"jasper&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP4","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/jasper&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP4","purlType":"rpm","versions":[{"text":"< 2.0.14-3.22.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.14-3.22.1","eol":null,"hubHref":null},{"vendor":"suse","product":"jasper&distro=SUSE Linux Enterprise Real Time 15 SP2","name":"jasper","label":"jasper&distro=SUSE Linux Enterprise Real Time 15 SP2","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/jasper&distro=SUSE Linux Enterprise Real Time 15 SP2","purlType":"rpm","versions":[{"text":"< 2.0.14-3.22.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.14-3.22.1","eol":null,"hubHref":null},{"vendor":"suse","product":"jasper&distro=SUSE Linux Enterprise Server 12 SP5","name":"jasper","label":"jasper&distro=SUSE Linux Enterprise Server 12 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/jasper&distro=SUSE Linux Enterprise Server 12 SP5","purlType":"rpm","versions":[{"text":"< 1.900.14-195.28.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.900.14-195.28.1","eol":null,"hubHref":null},{"vendor":"suse","product":"jasper&distro=SUSE Linux Enterprise Server 15 SP1-LTSS","name":"jasper","label":"jasper&distro=SUSE Linux Enterprise Server 15 SP1-LTSS","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/jasper&distro=SUSE Linux Enterprise Server 15 SP1-LTSS","purlType":"rpm","versions":[{"text":"< 2.0.14-3.22.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.14-3.22.1","eol":null,"hubHref":null},{"vendor":"suse","product":"jasper&distro=SUSE Linux Enterprise Server 15 SP2-LTSS","name":"jasper","label":"jasper&distro=SUSE Linux Enterprise Server 15 SP2-LTSS","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/jasper&distro=SUSE Linux Enterprise Server 15 SP2-LTSS","purlType":"rpm","versions":[{"text":"< 2.0.14-3.22.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.14-3.22.1","eol":null,"hubHref":null},{"vendor":"suse","product":"jasper&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5","name":"jasper","label":"jasper&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/jasper&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5","purlType":"rpm","versions":[{"text":"< 1.900.14-195.28.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.900.14-195.28.1","eol":null,"hubHref":null},{"vendor":"suse","product":"jasper&distro=SUSE Linux Enterprise Server for SAP Applications 15 SP1","name":"jasper","label":"jasper&distro=SUSE Linux Enterprise Server for SAP Applications 15 SP1","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/jasper&distro=SUSE Linux Enterprise Server for SAP Applications 15 SP1","purlType":"rpm","versions":[{"text":"< 2.0.14-3.22.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.14-3.22.1","eol":null,"hubHref":null},{"vendor":"suse","product":"jasper&distro=SUSE Linux Enterprise Server for SAP Applications 15 SP2","name":"jasper","label":"jasper&distro=SUSE Linux Enterprise Server for SAP Applications 15 SP2","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/jasper&distro=SUSE Linux Enterprise Server for SAP Applications 15 SP2","purlType":"rpm","versions":[{"text":"< 2.0.14-3.22.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.14-3.22.1","eol":null,"hubHref":null},{"vendor":"suse","product":"jasper&distro=SUSE Linux Enterprise Software Development Kit 12 SP5","name":"jasper","label":"jasper&distro=SUSE Linux Enterprise Software Development Kit 12 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/jasper&distro=SUSE Linux Enterprise Software Development Kit 12 SP5","purlType":"rpm","versions":[{"text":"< 1.900.14-195.28.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.900.14-195.28.1","eol":null,"hubHref":null}],"affectedCount":19,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/jasper-software/jasper/issues/194","label":"github.com/jasper-software/jasper/issues/194","hostname":"github.com","tags":["X Refsource MISC","REPORT","Exploit","Issue Tracking","Third Party Advisory"]},{"url":"https://www.suse.com/support/update/announcement/2022/suse-su-20220561-1/","label":"www.suse.com/support/update/announcement/2022/suse-su-20220561-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1188437","label":"bugzilla.suse.com/1188437","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2021-27845","label":"www.suse.com/security/cve/CVE-2021-27845","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://www.suse.com/support/update/announcement/2022/suse-su-20220562-1/","label":"www.suse.com/support/update/announcement/2022/suse-su-20220562-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://www.suse.com/support/update/announcement/2022/suse-su-20220562-2/","label":"www.suse.com/support/update/announcement/2022/suse-su-20220562-2/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-27845","label":"ubuntu.com/security/CVE-2021-27845","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-27845","label":"www.cve.org/CVERecord?id=CVE-2021-27845","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/S5RBUBOWU2ZWM5DFWVKEIL4FWPETOKDU/","label":"lists.opensuse.org/archives/…","hostname":"lists.opensuse.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:13389-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:13389-1"]},"timeline":[{"kind":"published","date":"2021-07-15T15:29:06.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T21:33:16.440Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":32,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T22:45:05.276Z","stale":false,"partial":false}}