CVE-2021-3916
NixOS vulnerability analysis and mitigation

Overview

BookStack, a self-hosted platform for organizing and storing information, was found to be vulnerable to Path Traversal attacks (CVE-2021-3916). The vulnerability was discovered and reported on October 31, 2021, affecting the image serving functionality of the application (CVE MITRE).

Technical details

The vulnerability was identified as an Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') issue in BookStack's image serving functionality. The flaw allowed potential attackers to traverse directory paths, potentially accessing files outside the intended directory structure (GitHub Commit).

Impact

The vulnerability could allow unauthorized access to files outside the intended image directory, potentially exposing sensitive system files and information stored on the server (CVE MITRE).

Mitigation and workarounds

The issue was addressed through a security patch that implemented proper path validation and restricted file access to only image files. The fix included additional checks to verify that requested files exist in the secure storage location and are valid image files (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61609HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management