ADVISORIES

GitHub Advisory Database

GHSA-r492-hjgh-c9gw

Vitess users with backup storage access can write to arbitrary file paths on restore

Details

Impact

Anyone with read/write access to the backup storage location (e.g. an S3 bucket) can manipulate backup manifest files so that files in the manifest — which may be files that they have also added to the manifest and backup contents — are written to any accessible location on restore. This is a common Path Traversal security issue. This can be used to provide that attacker with unintended/unauthorized access to the production deployment environment — allowing them to access information available in that environment as well as run any additional arbitrary commands there.

Patches

v23.0.3 and v22.0.4

Resources

https://github.com/vitessio/vitess/pull/19470

Affected packages

EcosystemPackageAffected versions
Govitess.io/vitess
From 0.23.0-rc1 before 0.23.3 (fixed in 0.23.3)
Govitess.io/vitess
All versions before 0.22.4 (fixed in 0.22.4)

References