This is a summary of the AI-generated 10-question deep analysis. The full version (longer answers, follow-up Q&A, related CVEs) requires login. Read the full analysis β
Q1What is this vulnerability? (Essence + Consequences)
π¨ **Essence**: Mammoth (Word-to-HTML tool) has a critical flaw in handling `.docx` files. <br>π₯ **Consequences**: Attackers can trigger **Directory Traversal** (CWE-22) or cause **Resource Exhaustion** (DoS).β¦
π‘οΈ **Root Cause**: **Missing Input Validation**. Specifically, the tool fails to verify file paths or types when processing documents. <br>π **CWE**: CWE-22 (Improper Limitation of a Pathname to a Restricted Directory).
Q3Who is affected? (Versions/Components)
π¦ **Affected Versions**: <br>β’ `mammoth` **0.3.25** <br>β’ All versions **before 1.11.0** <br>π€ **Developer**: Michael Williamson (Personal Project).
Q4What can hackers do? (Privileges/Data)
π΅οΈ **Attacker Capabilities**: <br>β’ **Read**: Access sensitive files outside the intended directory via traversal. <br>β’ **Disrupt**: Crash the service via resource overconsumption.β¦
π’ **Public Exploit**: **No**. The `pocs` field is empty. <br>π **References**: Proof-of-concept links exist on GitHub/Snyk, but no automated wild exploitation tools are confirmed in the data.
Q7How to self-check? (Features/Scanning)
π **Self-Check**: <br>1. Scan your dependency tree for `mammoth` version < 1.11.0. <br>2. Check if your app processes untrusted `.docx` files using this library. <br>3. Look for file path manipulation in logs.