Skip to content

1.5.3 Security hardening and unmounted-drive handling

Latest

Choose a tag to compare

@linuxrebel linuxrebel released this 09 Nov 05:01

DocuBrowse v1.5.3 — Security hardening + deleted vs. unmounted drives

A maintenance release: no new features and no configuration changes. It closes
the remaining items from the security audit, stops DocuBrowse from treating
disconnected drives as deleted files, and brings the documentation up to date.

Highlights

  • Deleted vs. unmounted files. A file now counts as deleted only when its
    folder is still there with other files in it; anything else (folder gone,
    empty, or unreadable) is treated as an unmounted drive. Before, an unplugged
    USB drive or a disconnected network share under /run, /home, or any
    non-root disk was reported as deleted — and scan-missing removed its index
    rows, tags, and synopses. Open and Deep Links now show a modal for an
    unmounted drive that lets you Keep the entry or Remove from index.
  • Loopback-only server. The opt-in private-network path
    (DOCUBROWSE_TRUSTED_CIDRS / DOCUBROWSE_ALLOWED_HOSTS) is removed; both
    variables are now ignored. The server always binds 127.0.0.1 and always
    requires the CSRF token. Remote / multi-user access is an Enterprise feature.
  • Hostile-file hardening.
    • File paths handed to external openers and extractors (xdg-open/gio,
      ebook-convert, djvutxt, vsd2xml, …) are made absolute, so a file named
      -something can never be read as a command-line option.
    • ODF, Visio, and draw.io files that declare XML entities are refused before
      parsing ("billion laughs" guard) — no new dependency.
    • Legacy-Visio converter output is capped at 256 MB.
  • Steadier scan ETA. The progress-bar rate and ETA now use the last 50
    files instead of the whole run, so early fast failures no longer skew it.

Documentation

  • User Guide (English, Japanese, Korean, Chinese) and API Reference rewritten
    for local-only use, with the guide's internal links fixed.
  • README (all 5 languages): API table, architecture, security, and file
    structure brought up to date; v1.5.3 changelog.
  • docubrowse.config(5) (all languages) no longer lists the removed variables.
  • Localized README screenshots (Japanese, Korean, Chinese) and a product
    website link.

Notes

  • If you set DOCUBROWSE_TRUSTED_CIDRS or DOCUBROWSE_ALLOWED_HOSTS to reach
    DocuBrowse from another machine, that no longer works; DocuBrowse FOSS is
    for use on the machine it runs on.
  • Index entries for a folder you deleted entirely now show as "unmounted"
    instead of being removed automatically — remove them from the modal, or
    rebuild the index.