Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

apache/poi
trunk @ 8771d9a
1
Fixes
10
CVEs
HIGH
Peak severity
0.0%
Coverage
Highlights
Path Traversal: 1 prior fix. Scrutinize any change in this area.
poi-scratchpad/src/main/java/org/apache/poi/hmef/extractor/HMEFContentsExtractor.java: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

XML External Entity (XXE): XML-based formats (OOXML, XSSF) are highly vulnerable to XXE injections if SAX parsers and external entity resolvers are not explicitly disabled, potentially exposing local files to remote attackers.
Denial of Service (DoS): Parsing complex or legacy binary formats (TNEF, PPT, DOC, WMF) frequently encounters unhandled structures, infinite loops, or extreme entity expansions (XEE) leading to CPU and memory exhaustion.
Path Traversal: Extracting attachments from container files (like TNEF/HMEF) without strict target directory containment verification allows malicious paths to write arbitrary files outside the destination directory.