CVE-2025-27591: Below has Incorrect Permission Assignment for Critical Resource
7.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.0344%
CWE
Published
3/11/2025
Updated
3/12/2025
KEV Status
No
Technology
Rust
Technical Details
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
below | rust | < 0.9.0 | 0.9.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from two key functions:
- create_log_dir() explicitly set 0o777 permissions for /var/log/below, making it world-writable.
- logging::setup() attempted to set 0o666 permissions for log files and had unsafe fallback behavior. The commit patching the vulnerability removed create_log_dir entirely and modified logging::setup to eliminate manual permission changes, instead relying on systemd's LogsDirectory directive for secure directory creation. The CWE-732 description and advisory details about world-writable directories directly map to these functions' behavior.