SecurityContext

CVE-2021-20308: hmtldoc - Integer Overflow

  • Cve: CVE-2021-20308
  • Name: hmtldoc - Integer Overflow
  • 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.
  • Impact: Attackers can execute arbitrary code or cause denial of service by exploiting integer overflow with crafted input.
  • Remediation: Update to the latest version of htmldoc that addresses this issue.
  • Vulnerability type: integer_overflow
  • Vulnerability impact: remote_code_execution, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.02477
  • Epss percentile: 0.84861
  • Assignee: [email protected]
  • Published at: 2021-04-05T22:15:12Z
  • Age in days: 2059
  • Modified at: 2026-06-17T03:33:38Z
  • Public exploits total: 2
  • References total: 3
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-20308
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-190Integer Overflow or Wraparound

Public exploits

UrlSourceAdded date
https://bugzilla.redhat.com/show_bug.cgi?id=1946289nvd2021-04-05
https://github.com/michaelrsweet/htmldoc/issues/423nvd2021-04-05

References

Same in every row:

  • Source: nvd
UrlTags
https://bugzilla.redhat.com/show_bug.cgi?id=1946289Exploit, Issue Tracking, Third Party Advisory
https://github.com/michaelrsweet/htmldoc/issues/423Exploit, Issue Tracking, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/07/msg00000.htmlMailing List, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
htmldoc_project:htmldoc<= 1.9.11nonvd/v1/products/htmldoc_project/htmldoc
debian:debian_linux= 9.0nonvd/v1/products/debian/debian_linux

Projects

RepositoryLink kindsIndexedUrl
michaelrsweet/htmldocissuesyes/v1/repositories/michaelrsweet/htmldoc

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2021-04-05
  • Remote: yes
  • Exposed hosts: 4739835
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports