Muhammaraの脆弱性でPDF処理時にサービス停止のおそれ
Summary
Muhammaraの6.0.5より前のバージョンには、LZWDecodeフィルターを使うPDFの処理でNULLポインター参照が起きる脆弱性があります。信頼できないPDFを処理するアプリケーションがクラッシュし、サービス拒否の状態になるおそれがあります。修正版の6.0.5が公開されているため、npmのmuhammaraを6.0.5以降に更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Muhammaraの6.0.5より前のバージョンには、LZWDecodeフィルターを使うPDFの処理でNULLポインター参照が起きる脆弱性があります。信頼できないPDFを処理するアプリケーションがクラッシュし、サービス拒否の状態になるおそれがあります。修正版の6.0.5が公開されているため、npmのmuhammaraを6.0.5以降に更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| julianhilleMuhammaraJS | — | Not listed |
| npmmuhammara |
< 6.0.5→ 6.0.5 |
6.0.5 |
Original description The description as published by the source.
Muhammara is a node module with c/cpp bindings to modify PDF with JavaScript for node or electron. Prior to 6.0.5, Muhammara PDFParser::CreateFilterForStream() in src/deps/PDFWriter/PDFParser.cpp dereferences a null PDFInteger pointer when a PDF stream uses the LZWDecode filter with a DecodeParms dictionary that omits the EarlyChange key. An application that processes an untrusted PDF and reads the affected stream can crash, causing a denial of service. This issue is fixed in version 6.0.5.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- web github.com
- web github.com