You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
quick-xml 0.36 in fluree-doc-parse's Office readers has DoS advisories fixed only in 0.41 #2115
cargo audit reports RUSTSEC-2026-0194 and 0195 against quick-xml 0.36.2, which comes in through fluree-doc-parse's Office readers (fluree-doc-docx, fluree-doc-pptx, and in its current main also fluree-doc-ooxml and fluree-doc-xlsx). Both are fixed only in quick-xml 0.41.
0194 (quadratic time checking a start tag for duplicate attribute names) is reachable: the readers iterate attributes() with the default check on, so a crafted .docx or .pptx given to fluree doc can spin the CPU.
0195 (unbounded namespace declarations in NsReader) is not: doc-parse doesn't use NsReader.
The fix is in fluree-doc-parse, then a repin here:
Move doc-parse to quick-xml 0.41. This is more than a version bump. In 0.41, BytesText::unescape() is gone and references like & arrive as separate Event::GeneralRef events. On doc-parse's main, six unescape calls and six Event::Text arms need rework, and each must handle GeneralRef, or text loses its escaped characters. It needs a test with & and character references in run text.
Repin fluree-doc-* in the root Cargo.toml. Bump DOC_PARSE_REV with it so cached parses are invalidated. doc-parse main is 36 commits ahead of the current pin, so the repin also brings those changes in.
testsuite-sparql has its own quick-xml 0.37.5 with the same two advisories. It's test-only and not shipped, but it can move to 0.41 at the same time.
Activity