{"schemaVersion":3,"id":"CVE-2021-20308","aliases":["openSUSE-SU-2021:0893-1","openSUSE-SU-2021:0895-1","openSUSE-SU-2021:1266-1","UBUNTU-CVE-2021-20308","DEBIAN-CVE-2021-20308","openSUSE-SU-2021:0882-1","openSUSE-SU-2024:10848-1"],"status":"published","duplicateOf":null,"title":null,"description":"Integer overflow in the htmldoc 1.9.11 and before may allow attackers to execute arbitrary code and cause a denial of service that is similar to CVE-2017-9181.","dates":{"published":"2021-04-05T21:32:58.000Z","modified":"2024-08-03T17:37:23.687Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02477,"percentile":0.84431,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.02477},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.02477,"percentile":0.84431}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.02477,"percentile":0.84431}]},"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_MICHAELRSWEET_HTMLDOC","name":"Htmldoc","source":"github","url":"https://github.com/michaelrsweet/htmldoc/issues/370","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_66EBA5AF52D404F1","name":"Exploit Reference (bugzilla.redhat.com)","source":"reference","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1946289","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-190","name":"Integer Overflow or Wraparound","description":"The product performs a calculation that can\n         produce an integer overflow or wraparound when the logic\n         assumes that the resulting value will always be larger than\n         the original value. This occurs when an integer value is\n         incremented to a value that is too large to store in the\n         associated representation. When this occurs, the value may\n         become a very small or negative number.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/190.html"}],"affected":[{"vendor":"debian","product":"htmldoc","name":"htmldoc","label":"htmldoc","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/htmldoc","purlType":"deb","versions":[{"text":"< 1.9.11-3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.9.11-3","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"htmldoc","name":"htmldoc","label":"htmldoc","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/htmldoc","purlType":"deb","versions":[{"text":"< 1.8.27-8ubuntu1+esm3","noFixRecorded":false,"fixedIn":null},{"text":"< 1.8.27-8ubuntu1.1+esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 1.9.2-1ubuntu0.2+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.9.7-1ubuntu0.3+esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.8.27-8ubuntu1+esm3 | < 1.8.27-8ubuntu1.1+esm2 | < 1.9.2-1ubuntu0.2+esm1 | < 1.9.7-1ubuntu0.3+esm1","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":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.0","eol":{"isEol":true,"eolDate":"2022-07-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"9","label":"9 (Stretch)","eolFrom":"2022-07-01T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"9.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"htmldoc_project","product":"htmldoc","name":"htmldoc","label":"htmldoc","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.9.11","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.9.11","eol":null,"hubHref":"/vendor/htmldoc_project/htmldoc"},{"vendor":"opensuse","product":"htmldoc&distro=openSUSE Leap 15.2","name":"htmldoc","label":"htmldoc&distro=openSUSE Leap 15.2","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/htmldoc&distro=openSUSE Leap 15.2","purlType":"rpm","versions":[{"text":"< 1.9.12-lp152.4.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.9.12-lp152.4.3.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"htmldoc&distro=openSUSE Tumbleweed","name":"htmldoc","label":"htmldoc&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/htmldoc&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 1.9.12-1.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.9.12-1.2","eol":null,"hubHref":null},{"vendor":"suse","product":"htmldoc&distro=SUSE Package Hub 12 SP1","name":"htmldoc","label":"htmldoc&distro=SUSE Package Hub 12 SP1","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/htmldoc&distro=SUSE Package Hub 12 SP1","purlType":"rpm","versions":[{"text":"< 1.8.28-6.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.8.28-6.1","eol":null,"hubHref":null},{"vendor":"suse","product":"htmldoc&distro=SUSE Package Hub 15 SP1","name":"htmldoc","label":"htmldoc&distro=SUSE Package Hub 15 SP1","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/htmldoc&distro=SUSE Package Hub 15 SP1","purlType":"rpm","versions":[{"text":"< 1.9.12-bp151.4.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.9.12-bp151.4.3.1","eol":null,"hubHref":null},{"vendor":"suse","product":"htmldoc&distro=SUSE Package Hub 15 SP2","name":"htmldoc","label":"htmldoc&distro=SUSE Package Hub 15 SP2","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/htmldoc&distro=SUSE Package Hub 15 SP2","purlType":"rpm","versions":[{"text":"< 1.9.12-bp152.4.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.9.12-bp152.4.3.1","eol":null,"hubHref":null}],"affectedCount":9,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/michaelrsweet/htmldoc/issues/423","label":"github.com/michaelrsweet/htmldoc/issues/423","hostname":"github.com","tags":["X Refsource MISC","REPORT","Exploit","Issue Tracking","Third Party Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1946289","label":"bugzilla.redhat.com/show_bug.cgi?id=1946289","hostname":"bugzilla.redhat.com","tags":["X Refsource MISC","REPORT","Exploit","Issue Tracking","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/07/msg00000.html","label":"lists.debian.org/debian-lts-announce/2021/07/msg00000.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/JPXU4F6ZSTM4YH5LRPXTC4IKPPHYHIMX/","label":"lists.opensuse.org/archives/…","hostname":"lists.opensuse.org","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1184424","label":"bugzilla.suse.com/1184424","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2021-20308","label":"www.suse.com/security/cve/CVE-2021-20308","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/SBHXPTEDODFUJSSP4XPVQOKK5PUKOPN6/","label":"lists.opensuse.org/archives/…","hostname":"lists.opensuse.org","tags":["Advisory"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/CULAAKX3HOT4A6XWUQNE3XVTQ7FRWP5M/","label":"lists.opensuse.org/archives/…","hostname":"lists.opensuse.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-20308","label":"ubuntu.com/security/CVE-2021-20308","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-20308","label":"www.cve.org/CVERecord?id=CVE-2021-20308","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7189-1","label":"ubuntu.com/security/notices/USN-7189-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-20308","label":"security-tracker.debian.org/tracker/CVE-2021-20308","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/RXMQHLXPNKTCGM4HNTMLHF7NWL3ZXKIO/","label":"lists.opensuse.org/archives/…","hostname":"lists.opensuse.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-2700-1","MGASA-2021-0332","SUSE-SU-2022:14898-1","USN-7189-1"],"duplicates":[],"related":["SUSE-SU-2022:14898-1","USN-7189-1"]},"timeline":[{"kind":"published","date":"2021-04-05T21:32:58.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T17:37:23.687Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T18:41:32.300Z","stale":false,"partial":false}}