This document tells how to report a vulnerability in Stowr. It also tells what the project covers. For the design of the protections, read the security model.
Do not open a public issue for a vulnerability. Use the private reports of GitHub.
- Open the page to report a vulnerability.
- Describe the problem. Name the version, the configuration that you used, and the steps to repeat it.
- Add a test or a proof of concept if you have one. Remove each real secret and each real host name from it.
Only the maintainers of the repository can read your report. We never ask for an e-mail address or for a secret. If the page is not available, open a public issue with the title "Security contact needed". Write no detail in it. A maintainer then starts a private channel.
These times are targets for a project that has no paid staff.
| Step | Target |
|---|---|
| We acknowledge your report. | 5 business days |
| We tell you if we accept it as a vulnerability. | 15 business days |
| We publish a fix and an advisory. | 90 days after the report, or sooner |
We ask you to wait for the fix before you publish details. We give credit in the advisory, unless you ask us not to.
| Version | Supported |
|---|---|
| The latest release (0.3.x) | Yes |
The branch main |
Yes |
| Older releases | No. Update to the latest release. |
- The access policy. A bypass of the check of the identity token is a vulnerability. So is a route that skips the question to the PDP, or a decision that Stowr applies in the wrong way.
- The isolation of the browser. A preview that runs active content from an object is a vulnerability. So is a way to load a resource from another origin, or a route that gives object bytes with no sandbox.
- The storage back ends. A read or a write outside the folder of a
volumeblock is a vulnerability. So is a path traversal in an archive entry, a way to use an object that the permissions refuse, or a leak of a credential. - The configuration. A secret that appears in the output of
print-config, in the log or in an answer is a vulnerability. - The release. A release archive that does not match its checksum, or a build that is not static, is a defect.
- A deployment that does not follow the documents. Examples: the mode
openwith no proxy that signs users in, or the modeauthzenwith a port that the edge does not guard. - A weakness of a storage provider, of an edge or of a PDP. Report it to that project.
- Provider audit systems that record each request. Stowr cannot make a request invisible to them.
- A denial of service that needs an authorized person to ask for work that the documented limits already bound.
The repository holds fixed keys and credentials for the tests. They belong to the isolated test services or to the unit tests. They are public on purpose and they protect nothing. A report about one of them is not a vulnerability.
| Path | Test value |
|---|---|
test/secrets/s3_secret_access_key |
The S3 secret key of the test stack. |
test/secrets/garage_admin_token |
The admin token of the Garage test service. |
test/config.hcl, test/frontend/config.hcl, test/frontend/s3.js |
The S3 access key id of the test stack. |
src/provider/test_server.rs |
A test root certificate, a server certificate that this root signs, and the P-256 private key of the server certificate, for the TLS tests of the provider client. |
src/access/keys_tests.rs |
The public keys of RFC 8037 (appendix A.3) and RFC 7515 (appendix A.3). |
src/access/fake.rs, src/access/pep_guard_tests.rs |
Ed25519 and ES256 keys from fixed seeds. They sign the identity tokens of the tests. |
src/provider/s3/sigv4.rs, src/bucket/tests/support.rs |
The example access key of the AWS Signature Version 4 documentation. |
src/provider/testing.rs |
The S3 secret key test-secret of the fake provider. |
src/bucket/tests/usage.rs |
A dummy admin token of Garage, and a dummy access key id and secret key of MinIO, for the usage tests. |
src/config/fixtures/, src/config/fixture_tests.rs |
Dummy access key ids, secret keys and PDP tokens of the configuration tests. |
src/pv_structured/certificate_tests.rs, src/pv_structured/metadata_tests.rs, src/pv_structured/routes_tests.rs, src/pv_data/tests.rs, src/server/preview_route_tests.rs |
PEM blocks with a short body that is not a real key, for the preview tests. |
The table names the main test values. Other unit tests hold short placeholder values, for example good-token,
fake-pdp-token or secret-of-the-test. These values also protect nothing.
The conformance test (test/conformance/run.sh) copies the test keys of the ProcurAuth specification at run time. The
repository does not hold them.