softshellDB is in its design phase; there is no release yet. Security fixes
land on main and reach users in the next release. There are no
maintenance branches before 1.0 (docs/05-release.md).
| Version | Supported |
|---|---|
main |
✅ |
| The newest release, once there is one | ✅ |
| Earlier commits and releases | ❌ |
Report vulnerabilities privately, through GitHub's private vulnerability reporting:
- On the repository's Security and quality tab, select Report a vulnerability, or go straight to https://github.com/jabbott-iii/softshellDB/security/advisories/new.
- Fill in the form. Only you, the maintainer, and the collaborators the maintainer adds to the report can see it.
Do not report a vulnerability in a public issue, discussion, pull request or commit message.
Include as much of this as you can:
- The commit (
git rev-parse HEAD) or release. - The OS and its version, the CPU architecture and the filesystem.
- The input that triggers it: attach a small database directory, file, document, or query to the private report rather than linking to it.
- The steps to reproduce it, or a proof of concept. A failing test, a
finding from
cargo xtask fuzz-smoke, or one fromcargo xtask crashonce roadmap task M3.8 adds it, is ideal. - The impact: what an attacker has to control, and what they gain.
- A suggested fix, if you have one.
Remove tokens, user names, paths and other private data from anything you attach.
Test only on your own systems and data, never against a database or server that someone else runs.
softshellDB has a single maintainer, so responses are best effort. A report goes through these steps:
- Acknowledgment in the private report.
- Assessment: whether it is a vulnerability, which commits it affects, and how severe it is.
- Fix: prepared privately when needed, then landed on
mainand released as a patch. - Disclosure: a GitHub security advisory, crediting you unless you would rather not be, and a CVE when warranted.
If a report is declined, for example as out of scope, the maintainer explains why. Please keep the details private until the advisory is published, or until you and the maintainer agree on a date.
softshellDB treats every file it reads, and every value, document, query, and import file a caller passes in, as possibly malformed or hostile. It is an embedded library and command-line tool with no network server (ADR-0001). In scope:
- Database files: opening or reading a crafted or corrupted database
directory (WAL, SST, manifest,
CURRENT,IDENTITY, catalog) causes a panic, a hang, undefined behavior, memory use past the configured limits, a wrong answer reported as success, or a write outside the database directory. - Data loss: a commit acknowledged as durable is lost or partially applied after a crash or power loss on a supported OS and filesystem.
- Decoders: SDOC, JSON and JSONC, keycode, SLZ, record framing, query
and update documents, and the
softshellREPL's input: a panic, hang, stack overflow or allocation pastLimitson any input. - Undefined behavior reachable through the public API or the
softshellcommand. Every crate forbidsunsafecode (ADR-0003), so a report of this kind most likely concerns the Rust standard library or compiler; the maintainer forwards it upstream as well. - Build automation and CI:
xtaskreaching the network or a secret; a workflow that exposes secrets to pull requests.
Out of scope:
- Databases on network filesystems, or on filesystems the docs do not
support (
docs/03-platforms.md). - Reading or changing data by someone who can already read or write the database directory: filesystem permissions protect it, and encryption at rest is in the backlog (ADR-0020). (A crafted directory that makes softshellDB misbehave is in scope, above.)
- Network attacks: softshellDB opens no socket and has no server, client, or wire protocol (ADR-0001).