CVE-2021-23180

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-23180
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-23180.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-23180
Downstream
Related
Published
2022-03-02T23:15:08.283Z
Modified
2025-11-14T11:28:25.848012Z
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 before. Null pointer dereference in file_extension(),in file.c may lead to execute arbitrary code and denial of service.

References

Affected packages

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

[
    {
        "digest": {
            "function_hash": "214173865665023147144296000261361719556",
            "length": 832.0
        },
        "deprecated": false,
        "signature_type": "Function",
        "signature_version": "v1",
        "target": {
            "file": "htmldoc/file.c",
            "function": "file_extension"
        },
        "id": "CVE-2021-23180-93d131e5",
        "source": "https://github.com/michaelrsweet/htmldoc/commit/19c582fb32eac74b57e155cffbb529377a9e751a"
    },
    {
        "digest": {
            "line_hashes": [
                "222690638848438741200169568887037404330",
                "118963740648647026022596039506257666025",
                "182008003180137975600728763971343228999",
                "81244088281243808798326873331165377534",
                "87047512033200192692469376183636880049",
                "132354921858136572642188747086448041024",
                "20442359897743404521499468429548051351",
                "122088147027535953071607880319169453471"
            ],
            "threshold": 0.9
        },
        "deprecated": false,
        "signature_type": "Line",
        "signature_version": "v1",
        "target": {
            "file": "htmldoc/file.c"
        },
        "id": "CVE-2021-23180-9e7a8c11",
        "source": "https://github.com/michaelrsweet/htmldoc/commit/19c582fb32eac74b57e155cffbb529377a9e751a"
    }
]