CVE-2025-13357
Vault’s Terraform Provider incorrectly set default deny_null_bind parameter for LDAP auth method to false by default
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (high).
Description
Vault’s Terraform Provider incorrectly set the default deny_null_bind parameter for the LDAP auth method to false by default, potentially resulting in an insecure configuration. If the underlying LDAP server allowed anonymous or unauthenticated binds, this could result in authentication bypass. This vulnerability, CVE-2025-13357, is fixed in Vault Terraform Provider v5.5.0.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/hashicorp/terraform-provider-vault | 5.5.0 |
References
- https://discuss.hashicorp.com/t/hcsec-2025-33-vault-terraform-provider-applied-incorrect-defaults-for-ldap-auth-method/76822
- https://github.com/advisories/GHSA-gmm6-j2g5-r52m
- https://github.com/hashicorp/terraform-provider-vault
- https://github.com/hashicorp/terraform-provider-vault/commit/882bc7f409acc99c872c345edd65159d9568589a
- https://github.com/hashicorp/terraform-provider-vault/pull/2622
- https://github.com/hashicorp/terraform-provider-vault/releases/tag/v5.5.0
- https://nvd.nist.gov/vuln/detail/CVE-2025-13357