Security context

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

nette/caching
master @ 83b5502
2
Fixes
0
CVEs
MEDIUM
Peak severity
0.0%
Coverage
Highlights
Insecure Permissions: 2 prior fixes. Scrutinize any change in this area.
Nette\Caching\Storages\SQLiteStorage: most-fixed (1 issue). Treat as high-risk during review.
0 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

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

Insecure Permissions: Overly permissive file permissions on newly created SQLite cache databases could allow unauthorized local users to read or write cache data. This was resolved by pre-creating the database file with touch() to properly enforce the process umask prior to PDO connection.
Insecure Permissions: Similar to the storage component, the SQLite journal initialization created database files with default permissions that bypassed the intended umask, exposing local cache structures to unauthorized users.