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