漏洞描述
HTMLDOC是一款能够将HTML和Markdown文件转换为EPUB、索引HTML、PostScript和PDF等格式文件的开源程序。
htmldoc存在资源管理错误漏洞,该漏洞源于处理 JPEG 图像时ps-pdf.cxx 中的 pspdf_export() 函数中存在边界错误。远程攻击者利用该漏洞可以触发双重释放错误并在目标系统上执行任意代码。
解决建议
受影响的产品和版本:htmldoc ( Debian 软件包):1.9.2-1、1.9.2-2、1.9.3、1.9.3-1、1.9.7-1、1.9.8、1.9.8-1、1.9.8-2。
目前厂商已发布升级补丁以修复漏洞,补丁获取链接:
https://github.com/michaelrsweet/htmldoc/issues/414
目前厂商已发布升级补丁以修复漏洞,补丁获取链接:
https://github.com/michaelrsweet/htmldoc/issues/414
参考链接
https://bugzilla.redhat.com/show_bug.cgi?id=1967018
https://github.com/michaelrsweet/htmldoc/commit/369b2ea1fd0d0537ba707f20a2f047b6afd2fbdc
https://github.com/michaelrsweet/htmldoc/issues/414
https://vigilance.fr/vulnerability/htmldoc-multiple-vulnerabilities-35674
https://www.auscert.org.au/bulletins/ESB-2021.2083
https://www.auscert.org.au/bulletins/ESB-2021.2297
https://www.cybersecurity-help.cz/vdb/SB2021061022