The C4 project is currently maintained on the master branch. We provide security updates for:
| Version | Supported |
|---|---|
| master branch | ✅ |
| v0.8.2 | ✅ |
| v0.8.1 | ✅ |
| v0.8.0 | ❌ |
| < v0.8 | ❌ |
Note: The v0.8 tag always points to the latest v0.8.x release.
We take security vulnerabilities seriously. If you discover a security issue in C4, please report it responsibly.
- DO NOT create a public GitHub issue for security vulnerabilities
- Instead, please report security issues via GitHub's private vulnerability reporting:
- Go to https://github.com/bgyss/c4/security/advisories
- Click "Report a vulnerability"
- Provide a detailed description of the vulnerability
- Include steps to reproduce if possible
- Type of vulnerability (e.g., path traversal, denial of service, etc.)
- Affected components (e.g., file walker, storage layer, etc.)
- Potential impact
- Steps to reproduce
- Suggested fixes (if any)
- Initial Response: Within 48 hours
- Status Update: Within 7 days
- Resolution Target: 30 days for critical issues, 90 days for lower severity
- We will acknowledge receipt of your report
- We will investigate and validate the issue
- We will work on a fix and coordinate disclosure
- Credit will be given to reporters (unless you prefer to remain anonymous)
C4 is designed for content identification and may operate with elevated privileges when performing system-wide scans. Users should:
- Only run C4 with elevated privileges when necessary
- Be aware that C4 follows symbolic links by default, which could lead to scanning unintended locations or loops in untrusted directory structures
- Keep dependencies up to date
Note: C4 only reads and hashes file content using SHA-512. It does not execute or interpret file contents, making it safe to scan any file regardless of its content.
Security fixes are documented in commit messages and GitHub security advisories.
- Updated golang.org/x/crypto to fix CVE-2024-45337, CVE-2022-27191, CVE-2021-43565, CVE-2025-22869, CVE-2023-48795
- Migrated from deprecated github.com/boltdb/bolt to maintained go.etcd.io/bbolt
- Updated bbolt to v1.4.2