Vulnerability Name:

CVE-2021-20308 (CCN-199803)

Assigned:2020-12-17
Published:2021-04-05
Updated:2021-12-03
Summary: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.
CVSS v3 Severity:9.8 Critical (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.6 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:U/RC:R)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
9.8 Critical (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.6 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:U/RC:R)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
10.0 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-190
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2021-20308

Source: CCN
Type: Red Hat Bugzilla – Bug 1946289
(CVE-2021-20308) - CVE-2021-20308 htmldoc: Integer overflow in image_load_gif()

Source: MISC
Type: Exploit, Issue Tracking, Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1946289

Source: XF
Type: UNKNOWN
htmldoc-cve202120308-overflow(199803)

Source: CCN
Type: HTMLDOC GIT Repository
Bug: buffer-overflow caused by integer-overflow in image_load_gif()

Source: MISC
Type: Exploit, Issue Tracking, Third Party Advisory
https://github.com/michaelrsweet/htmldoc/issues/423

Source: MLIST
Type: Mailing List, Third Party Advisory
[debian-lts-announce] 20210701 [SECURITY] [DLA 2700-1] htmldoc security update

Vulnerable Configuration:Configuration 1:
  • cpe:/a:htmldoc_project:htmldoc:*:*:*:*:*:*:*:* (Version <= 1.9.11)

  • Configuration 2:
  • cpe:/o:debian:debian_linux:9.0:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:htmldoc_project:htmldoc:1.9.11:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:112408
    P
    htmldoc-1.9.12-1.2 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:105917
    P
    Security update for apache2 (Important) (in QA)
    2022-01-10
    oval:org.opensuse.security:def:100368
    P
    (Important)
    2021-12-22
    oval:org.opensuse.security:def:35511
    P
    Security update for htmldoc (Important)
    2021-09-15
    oval:org.opensuse.security:def:11239
    P
    Security update for htmldoc (Important)
    2021-07-08
    oval:org.opensuse.security:def:111537
    P
    Security update for htmldoc (Important)
    2021-07-08
    oval:org.opensuse.security:def:107034
    P
    Security update for htmldoc (Important)
    2021-06-18
    oval:org.opensuse.security:def:11229
    P
    Security update for htmldoc (Important)
    2021-06-18
    oval:org.opensuse.security:def:93655
    P
    Security update for htmldoc (Important)
    2021-06-18
    oval:org.opensuse.security:def:11228
    P
    Security update for htmldoc (Important)
    2021-06-17
    oval:org.opensuse.security:def:96493
    P
    Security update for htmldoc (Important)
    2021-06-17
    oval:org.opensuse.security:def:109840
    P
    Security update for htmldoc (Important)
    2021-06-17
    oval:org.opensuse.security:def:103183
    P
    Security update for htmldoc (Important)
    2021-06-17
    oval:org.opensuse.security:def:111440
    P
    Security update for htmldoc (Important)
    2021-06-16
    BACK
    htmldoc_project htmldoc *
    debian debian linux 9.0
    htmldoc_project htmldoc 1.9.11