VictoriaMetrics 1.148.4 → 1.148.8
4 releases · 0 breaking changes · 8 security fixes · 2 advisories fixed
8security0breaking0deprecated0feature32fix
Vulnerabilities fixed by this upgrade
- 4.9 GHSA-8g4f-32hw-vqf8 Denial of Service via Unbounded ZSTD Decompression in Native Import API
- 6.1 GHSA-m2x2-9xpq-mmq5 DOM XSS via URL-Controlled Server URL
Breaking changes
None in the release notes.
Security changes
- security SECURITY: upgrade Go builder from Go1.26.9 to Go1.26.10. See the list of issues addressed in Go1.26.10. in 1.148.8
- security SECURITY: upgrade base docker image (Alpine) from 3.24.2 to 3.24.3. See Alpine 3.24.4 release notes. in 1.148.8
- security Fixes GHSA-m2x2-9xpq-mmq5: DOM XSS via URL-Controlled Server URL in 1.148.6
- security SECURITY: upgrade Go builder from Go1.26.8 to Go1.26.9. See the list of issues addressed in Go1.26.9. in 1.148.6
- security SECURITY: vminsert, vmagent and vmsingle: properly apply memory limits to the zstd encoded blocks ingested via native import. This prevents excessive memory allocation during ingestion when handling maliciously crafted requests. See GHSA-8g4f-32hw-vqf8. in 1.148.5
- security SECURITY: vmauth: restrict redirects in the OIDC Discovery HTTP client to stay within the original request host. See GHSA-xxqh-2hcc-9fp6. in 1.148.5
- security SECURITY: upgrade base docker image (Alpine) from 3.24.1 to 3.24.2. See Alpine 3.24.2 release notes. in 1.148.5
- security BUGFIX: vmselect, vminsert, vmagent and vmsingle: ignore empty extra_label, extra_filters and extra_filters[] query args instead of returning an error. This allows dropping client-provided values for these query args via url_prefix in vmauth as described in the security docs. See. in 1.148.5
Every release in between
securitySECURITY: upgrade Go builder from Go1.26.9 to Go1.26.10. See the list of issues addressed in Go1.26.10.
securitySECURITY: upgrade base docker image (Alpine) from 3.24.2 to 3.24.3. See Alpine 3.24.4 release notes.
fixBUGFIX: vminsert in VictoriaMetrics cluster: prevent metric metadata drops after transient RPC handshake timeouts when connecting to vmstorage. See. Thanks to @sakateka for contribution.
fixBUGFIX: vmauth: skip keys with unsupported kty or crv, missing required members or invalid values in the JWKS fetched via OIDC discovery instead of rejecting the whole key set, as required by RFC 7517. Previously, a single unsupported or malformed key in the JWKS caused vmauth to reject all JWTs…
fixBUGFIX: vmsingle and vmagent: set __meta_kubernetes_namespace and the namespace metadata to the namespace of the Endpoints or EndpointSlice object in role: endpoints and role: endpointslice service discovery when the referenced pod lives in another namespace. Previously the namespace of the pod…
fixBUGFIX: vmui: stop saving the automatically calculated query step in shared URLs, so opening a link recalculates the step for the selected time range and screen width. Explicitly configured steps remain fixed. See.
fixBUGFIX: vmagent: prevent Kafka remote write getting stuck after TLS certificates are reloaded. Previously, when vmagent detected changed certificates and restarted the Kafka producer, pending sends to the old producer could hang forever and the remote write queue stopped draining until vmagent was…
fixBUGFIX: vmsingle, vmagent and vminsert in VictoriaMetrics cluster: properly validate time series ingested via /api/v1/import/native. See. Thanks to @meshchellomishel for contribution.
fixBUGFIX: vmsingle and vmagent: reduce memory usage during for Kubernetes service discovery, when scrape configuration has many entries that matches small subset of targets. See. Thanks to @CamberLoid for contribution.
fixBUGFIX: vmauth: do not slow down requests with auth tokens if no users are configured. Previously, such requests were delayed by 2-3 seconds before being proxied to unauthorized_user, though there were no users to brute-force. This affected setups where one vmauth authenticates requests and…
securityFixes GHSA-m2x2-9xpq-mmq5: DOM XSS via URL-Controlled Server URL
securitySECURITY: upgrade Go builder from Go1.26.8 to Go1.26.9. See the list of issues addressed in Go1.26.9.
fixBUGFIX: all VictoriaMetrics components: correctly configure TCP keep-alive active probes. See.
fixBUGFIX: all VictoriaMetrics components: properly match regexps that start with an alternation or a character class and continue with .foo. or .+foo.+, for example (a|b).foo.. Previously the leading part was ignored when matching relabeling regex and if filters and stream aggregation match filters,…
fixBUGFIX: stream aggregation: properly add timeseries for increase, increase_prometheus, total and total_prometheus aggregation functions when enable_windows: true is set. See. Thanks to @Hoipang for contribution.
fixBUGFIX: vmalert: keep using notifiers from the previously applied notifier configuration file if the updated config fails to start, for example due to a temporary service discovery error, and retry applying it on the next reload. Previously, vmalert stopped the old notifiers before starting the…
fixBUGFIX: vmalert: copy alert labels before applying alert_relabel_configs from the notifier configuration file, preventing different alertmanagers from affecting each other's labels. See.
fixBUGFIX: vmauth: fixes rare data corruption on HTTP request retries. See.
fixBUGFIX: vmselect in VictoriaMetrics cluster: add missing accountID, projectID and multiTenant fields to topByAvgMemoryUsage results at /api/v1/status/top_queries. See.
fixBUGFIX: vmsingle and vmselect in VictoriaMetrics cluster: properly execute group_left(...) and group_right(..) queries when the join is then combined with another selector. See.
fixBUGFIX: vmsingle and vmstorage in VictoriaMetrics cluster: prevent possible crash with cannot decompress zstd data... panic on darwin, windows, freebsd, openbsd, linux/arm, linux/ppc64le, linux/386, linux/s390x, and -pure builds. The linux/amd64 and linux/arm64 builds are not affected. See.
fixBUGFIX: vmsingle: properly apply -streamAggr.enableWindows command-line flag to stream aggregation rules. Previously, the flag was ignored by aggregation rules defined in -streamAggr.config and was applied only during config validation with -dryRun and to the standalone deduplication configured…
fixBUGFIX: vmsingle and vmstorage in VictoriaMetrics cluster: properly release memory after historical data backfilling. Previously storage kept 8MiB*CPU memory for each month of ingested data until restart. See. Thanks to @mars71003219 for contribution.
fixBUGFIX: vmui: prevent overriding the serverUrl, tenantId, theme, and isDarkTheme settings via query parameters. See.
fixBUGFIX: vmauth: fix misleading missing 'Authorization' request header response for JWT-authenticated users when the requested path does not match any url_map. Now it correctly returns 400 Bad Request with missing route error, matching the behavior of Basic Auth and Bearer-token users. See.
fixBUGFIX: vmbackup and vmbackupmanager: add -s3SkipTaggingDirective command-line flag for S3-compatible storage that rejects the x-amz-tagging-directive and x-amz-tagging headers. See.
securitySECURITY: vminsert, vmagent and vmsingle: properly apply memory limits to the zstd encoded blocks ingested via native import. This prevents excessive memory allocation during ingestion when handling maliciously crafted requests. See GHSA-8g4f-32hw-vqf8.
securitySECURITY: vmauth: restrict redirects in the OIDC Discovery HTTP client to stay within the original request host. See GHSA-xxqh-2hcc-9fp6.
securitySECURITY: upgrade base docker image (Alpine) from 3.24.1 to 3.24.2. See Alpine 3.24.2 release notes.
fixBUGFIX: stream aggregation: serially push samples to stream aggregation jobs. This helps reduce CPU overhead. 11f488d8ff introduced parallel processing for this stage, which introduced extra CPU overhead while only providing negligible sample lag reduction. See.
fixBUGFIX: vmagent: add missing X-Influxdb-Version HTTP header to influxdb API responses. See.
fixBUGFIX: vmagent: disable metrics metadata sending for MDX remote write destinations. See.
fixBUGFIX: vmagent and vmsingle: properly discover *_sd_config targets. Previously scrape targets were preserved until the process restart if *_sd_config returned an empty targets response. See for details. Thanks to @evkuzin for contribution.
fixBUGFIX: vmagent: properly reload SSL certificate for kafka producer and consumer. See.
fixBUGFIX: vmsingle, vmselect in VictoriaMetrics cluster: prevent the process from crashing when limit_offset is called with a negative limit or offset argument. See. Thanks to @theoneLee for contribution.
fixBUGFIX: vmalert: properly reload alert_relabel_configs from the notifier configuration file. Previously, this config was applied only at startup and was not updated on config reload. See.
fixBUGFIX: vmauth: respect the -enableTCP6 flag when discovering backend IPs via discover_backend_ips or -discoverBackendIPs. Previously, discovery included IPv6 addresses even when IPv6 support was disabled. See.
fixBUGFIX: vmui: fix synchronization of the custom query step with URL changes on the predefined dashboards page. See.
securityBUGFIX: vmselect, vminsert, vmagent and vmsingle: ignore empty extra_label, extra_filters and extra_filters[] query args instead of returning an error. This allows dropping client-provided values for these query args via url_prefix in vmauth as described in the security docs. See.
fixBUGFIX: vmsingle and vmselect in VictoriaMetrics cluster: slightly reduce CPU usage during concurrent queries execution. See.