CVE-2021-23206

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-23206
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-23206.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-23206
Downstream
Related
Published
2022-03-02T23:15:08Z
Modified
2025-09-16T07:14:58.614769Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

A flaw was found in htmldoc in v1.9.12 and prior. A stack buffer overflow in parse_table() in ps-pdf.cxx may lead to execute arbitrary code and denial of service.

References

Affected packages

Debian:11 / htmldoc

Package

Name
htmldoc
Purl
pkg:deb/debian/htmldoc?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.9.11-4

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:12 / htmldoc

Package

Name
htmldoc
Purl
pkg:deb/debian/htmldoc?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.9.11-4

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:13 / htmldoc

Package

Name
htmldoc
Purl
pkg:deb/debian/htmldoc?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.9.11-4

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:14 / htmldoc

Package

Name
htmldoc
Purl
pkg:deb/debian/htmldoc?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.9.11-4

Ecosystem specific

{
    "urgency": "unimportant"
}

Git / github.com/michaelrsweet/htmldoc

Affected ranges

Type
GIT
Repo
https://github.com/michaelrsweet/htmldoc
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v1.*

v1.8.30
v1.9
v1.9.1
v1.9.10
v1.9.11
v1.9.2
v1.9.3
v1.9.4
v1.9.5
v1.9.6
v1.9.7
v1.9.8
v1.9.9

Database specific

{
    "vanir_signatures": [
        {
            "target": {
                "file": "htmldoc/ps-pdf.cxx",
                "function": "render_table_row"
            },
            "digest": {
                "function_hash": "286740561967303496883007309346580622876",
                "length": 16179.0
            },
            "signature_type": "Function",
            "source": "https://github.com/michaelrsweet/htmldoc/commit/ba61a3ece382389ae4482c7027af8b32e8ab4cc8",
            "deprecated": false,
            "id": "CVE-2021-23206-1b6a26db",
            "signature_version": "v1"
        },
        {
            "target": {
                "file": "htmldoc/ps-pdf.cxx"
            },
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "226305219384265653921651652291527168498",
                    "312786812986221524017030466711465721759",
                    "248881942351859967399891898708216035900",
                    "100044695840884250015235649283980975188",
                    "67369235504030147037387646618481637029",
                    "68560888885934909608735818683816569441",
                    "283399597847895068512198141070330852352",
                    "207968872124558090440769507997069876452",
                    "202211541399609575394648521218735327191",
                    "111931546384935815270989048337050235836",
                    "91871316662392284632946802558202801936",
                    "40200726183932834868101819092894647972",
                    "26357264643605942196638892146108110582",
                    "47340553285007915119623372580896477598",
                    "114870920087860501124723412437940591453",
                    "218953146322284919093319144259412888686"
                ]
            },
            "signature_type": "Line",
            "source": "https://github.com/michaelrsweet/htmldoc/commit/ba61a3ece382389ae4482c7027af8b32e8ab4cc8",
            "deprecated": false,
            "id": "CVE-2021-23206-779113e7",
            "signature_version": "v1"
        },
        {
            "target": {
                "file": "htmldoc/ps-pdf.cxx",
                "function": "parse_table"
            },
            "digest": {
                "function_hash": "233701428516035447414400569068903417021",
                "length": 19153.0
            },
            "signature_type": "Function",
            "source": "https://github.com/michaelrsweet/htmldoc/commit/ba61a3ece382389ae4482c7027af8b32e8ab4cc8",
            "deprecated": false,
            "id": "CVE-2021-23206-858b0bab",
            "signature_version": "v1"
        }
    ]
}