Property
Languageterraform
Severitymedium
Servicespaces
ProviderDigitalOcean
Vulnerability Typemisconfiguration

Description#

Configuring a DigitalOcean Spaces bucket with ‘force_destroy’ enabled allows the bucket to be deleted without checking if it contains any objects, bypassing safeguards against accidental data loss.

Impact#

If exploited, all objects within the bucket could be permanently deleted—intentionally or by mistake—leading to loss of important data and potential disruption of services that depend on these stored assets.

Resolution#

Don’t use force destroy on bucket configuration