LAKSHMIKANTHAN K
LAKSHMIKANTHAN K
@janl Thanks for the feedback. I agree that validating at `new PouchDB()` would be the ideal place long-term. In this PR, I added validation at `viewCleanup()` as a defense-in-depth measure,...
The regex ^[^:"|?*]+$ was intended to block dangerous filesystem characters, but I realize it doesn't sufficiently prevent path traversal (e.g., ../). A more robust fix will require explicit checks to...
@janl Thanks for the detailed explanation, that clarifies the scope a lot. I see that the issue is specific to filesystem-backed adapters, so it makes sense to move the validation...
@janl @alxndrsn ### Summary of Changes This PR adds secure database name validation to the LevelDB adapter, aligned with CouchDB rules. **Security** * Enforces regex: `^[a-z][a-z0-9_$()+/-]*$` * Rejects path traversal...
@sqrrrl please review this !!
Hi Krzysztof, Thanks for the detailed feedback—I really appreciate the perspective. My main intention with this PR was to address the underlying vulnerability regarding cache poisoning via untrusted host headers....
@sqrrrl please review!!
@sqrrrl Makes sense 👍 Goal was to prevent credential leaks since unsafe paths or symlinks can expose tokens (like in `/tmp` or CI mounts). But yeah, blocking might break real...
@sqrrrl Thanks for reviewing and merging the fixes! Really appreciate it. Since #1145 and #1146 address security issues, are you planning to publish a security advisory or CVE for them?...