ADVISORIES

GitHub Advisory Database

GHSA-66jq-2c23-2xh5

VictoriaMetrics' Snappy Decoder DoS Vulnerability is Causing OOM

Details

Impact

Affected versions are vulnerable to DoS attacks because the snappy decoder ignored VictoriaMetrics request size limits allowing malformed blocks to trigger excessive memory use. This could lead to OOM errors and service instability. The fix enforces block-size checks based on MaxRequest limits.

Patches

Versions 1.129.1, 1.122.8, 1.110.23

Resources

  • https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.129.1
  • https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.122.8
  • https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.110.23

Note

VictoriaMetrics' security model assumes its APIs are properly secured (e.g. via access control flags or a firewall); this advisory addresses malicious input that should not be possible under a correctly secured deployment.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/VictoriaMetrics/VictoriaMetrics
From 1.123.0 before 1.129.1 (fixed in 1.129.1)
Gogithub.com/VictoriaMetrics/VictoriaMetrics
From 1.111.0 before 1.122.8 (fixed in 1.122.8)
Gogithub.com/VictoriaMetrics/VictoriaMetrics
From 1.0.0 before 1.110.23 (fixed in 1.110.23)

References