{"schemaVersion":3,"id":"CVE-2021-28698","aliases":["ALPINE-CVE-2021-28698","UBUNTU-CVE-2021-28698","DEBIAN-CVE-2021-28698"],"status":"published","duplicateOf":null,"title":null,"description":"long running loops in grant table handling In order to properly monitor resource use, Xen maintains information on the grant mappings a domain may create to map grants offered by other domains. In the process of carrying out certain actions, Xen would iterate over all such entries, including ones which aren't in use anymore and some which may have been created but never used. If the number of entries for a given domain is large enough, this iterating of the entire table may tie up a CPU for too long, starving other domains or causing issues in the hypervisor itself. Note that a domain may map its own grants, i.e. there is no need for multiple domains to be involved here. A pair of \"cooperating\" guests may, however, cause the effects to be more severe.","dates":{"published":"2021-08-27T18:32:13.000Z","modified":"2024-08-03T21:47:33.154Z","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:L/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/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:L/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.9,"severity":"medium","vector":"AV:L/AC:L/Au:N/C:N/I:N/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00348,"percentile":0.26912,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":-0.003000000000000008,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00351},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00348,"percentile":0.26912}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00351,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00348,"percentile":0.26912}]},"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":[],"exploitCount":0,"weaknesses":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition ('Infinite Loop')","description":"The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/835.html"}],"affected":[{"vendor":"alpine","product":"xen","name":"xen","label":"xen","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/xen","purlType":"apk","versions":[{"text":"≥ 3.2.0, < 4.13.3-r2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.2.0, < 4.14.2-r0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.2.0, < 4.15.0-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.2.0, < 4.13.3-r2 | ≥ 3.2.0, < 4.14.2-r0 | ≥ 3.2.0, < 4.15.0-r2","eol":null,"hubHref":null},{"vendor":"debian","product":"xen","name":"xen","label":"xen","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/xen","purlType":"deb","versions":[{"text":"< 4.14.3-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.14.3-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"xen","name":"xen","label":"xen","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/xen","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"11.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"11.0","eol":{"isEol":true,"eolDate":"2026-08-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"11","label":"11 (Bullseye)","eolFrom":"2026-08-31T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"11.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"33","noFixRecorded":false,"fixedIn":null},{"text":"34","noFixRecorded":false,"fixedIn":null},{"text":"35","noFixRecorded":false,"fixedIn":null}],"versionsText":"33 | 34 | 35","eol":{"isEol":true,"eolDate":"2021-11-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"33","label":"33","eolFrom":"2021-11-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"xen","product":"xen","name":"Xen","label":"xen","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.14.0, < 4.15.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.15.x, < unspecified","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.13.0, < 4.14.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.11.0, < 4.12.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.12.0, < 4.13.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.2.0","noFixRecorded":true,"fixedIn":null}],"versionsText":"≥ 4.14.0, < 4.15.0 | ≥ 4.15.x, < unspecified | ≥ 4.13.0, < 4.14.0 | ≥ 4.11.0, < 4.12.0 | ≥ 4.12.0, < 4.13.0 | ≥ 3.2.0 (No fix recorded)","eol":null,"hubHref":"/vendor/xen/xen"}],"affectedCount":6,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://xenbits.xenproject.org/xsa/advisory-380.txt","label":"xenbits.xenproject.org/xsa/advisory-380.txt","hostname":"xenbits.xenproject.org","tags":["X Refsource MISC","Vendor Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2021/09/01/2","label":"www.openwall.com/lists/oss-security/2021/09/01/2","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LPRVHW4J4ZCPPOHZEWP5MOJT7XDGFFPJ/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FZCNPSRPGFCQRYE2BI4D4Q4SCE56ANV2/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://www.debian.org/security/2021/dsa-4977","label":"www.debian.org/security/2021/dsa-4977","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2VQCFAPBNGBBAOMJZG6QBREOG5IIDZID/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://security.gentoo.org/glsa/202208-23","label":"security.gentoo.org/glsa/202208-23","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2021-28698","label":"security.alpinelinux.org/vuln/CVE-2021-28698","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-28698","label":"ubuntu.com/security/CVE-2021-28698","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://xenbits.xen.org/xsa/advisory-380.html","label":"xenbits.xen.org/xsa/advisory-380.html","hostname":"xenbits.xen.org","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-28698","label":"www.cve.org/CVERecord?id=CVE-2021-28698","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-28698","label":"security-tracker.debian.org/tracker/CVE-2021-28698","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-4977-1","OPENSUSE-SU-2021:1236-1","OPENSUSE-SU-2021:2923-1","SUSE-SU-2021:14848-1","SUSE-SU-2021:2922-1","SUSE-SU-2021:2923-1","SUSE-SU-2021:2924-1","SUSE-SU-2021:2925-1","SUSE-SU-2021:2943-1","SUSE-SU-2021:2955-1","SUSE-SU-2021:2957-1","SUSE-SU-2021:3322-1"],"duplicates":[],"related":["OPENSUSE-SU-2021:1236-1","OPENSUSE-SU-2021:2923-1","SUSE-SU-2021:14848-1","SUSE-SU-2021:2922-1","SUSE-SU-2021:2923-1","SUSE-SU-2021:2924-1","SUSE-SU-2021:2925-1","SUSE-SU-2021:2943-1","SUSE-SU-2021:2955-1","SUSE-SU-2021:2957-1","SUSE-SU-2021:3322-1"]},"timeline":[{"kind":"published","date":"2021-08-27T18:32:13.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T21:47:33.154Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T21:47:26.715Z","stale":false,"partial":false}}