Compare commits

...

2 Commits

Author SHA1 Message Date
Max Kotliar
9a993c5d30 f 2025-10-09 18:22:04 +03:00
Max Kotliar
209b6421da docs: Add CVE handling plicy 2025-10-09 18:18:36 +03:00
2 changed files with 33 additions and 8 deletions

View File

@@ -1744,6 +1744,18 @@ For example, substitute `-graphiteListenAddr=:2003` with `-graphiteListenAddr=<i
See also [security recommendation for VictoriaMetrics cluster](https://docs.victoriametrics.com/victoriametrics/cluster-victoriametrics/#security)
and [the general security page at VictoriaMetrics website](https://victoriametrics.com/security/).
### CVE handling policy
**Source code:** Go dependencies are scanned by [govulncheck](https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck) in CI.
All vulnerabilities must be fixed before next scheduled release and backported to [LTS releases](https://docs.victoriametrics.com/victoriametrics/lts-releases/).
**Docker base images:** CVE findings in [Alpine](https://security.alpinelinux.org/) base image pose minimal risk since VictoriaMetrics binaries are statically compiled with no OS dependencies.
When detected, only the Alpine base tag is updated.
Releases proceed as planned even if upstream fixes are not yet available.
For maximum security, hardened [scratch](https://hub.docker.com/_/scratch)-based images are also provided.
All images are continuously scanned by Docker Hub and verified before release using [grype](https://github.com/anchore/grype).
### mTLS protection
By default `VictoriaMetrics` accepts http requests at `8428` port (this port can be changed via `-httpListenAddr` command-line flags).

View File

@@ -68,14 +68,8 @@ and the candidate is deployed to the sandbox environment.
1. Make sure you get all changes fetched.
```sh
git fetch --all
```
1. Make sure tests pass on branches `master`, `cluster`, `enterprise-single-node` and `enterprise-cluster`.
```sh
make test-full
make check-all
git fetch opensource
git fetch enterprise
```
1. Make sure all the changes are synced between `master`, `cluster`, `enterprise-single-node` and `enterprise-cluster` branches.
@@ -92,6 +86,25 @@ and the candidate is deployed to the sandbox environment.
1. Review bugfixes in the changelog to determine if they need to be backported to LTS versions.
Cherry-pick bug fixes relevant for [LTS releases](https://docs.victoriametrics.com/victoriametrics/lts-releases/).
This serves as a double-check. The initial assessment should already have been done by the person who merged a PR.
1. Make sure tests pass on branches `master`, `cluster`, `enterprise-single-node` and `enterprise-cluster`.
```sh
make test-full
make check-all
```
1. Verify no CVEs in Go code or base images according to the [CVE handling policy](https://docs.victoriametrics.com/victoriametrics/#security).
Its sufficient to run `govulncheck` on the `master` branch since other branches are checked in CI on regular bases.
For image scanning, build and check Alpine base image.
```sh
make govulncheck
make package-base
grype --only-fixed [base-image-tag]
```
1. Re-build `vmui` static files. Static assets needs to be rebuilt separately for oss and enterprise branches (changes should not be cherry-picked between these branches). See [commit example](https://github.com/VictoriaMetrics/VictoriaMetrics/commit/9dde5b8ee3fdc9d4cd495c8118e04ff4ee32e650).
```sh