CVE-2023-0665 Vault PKI Issuer Endpoint Did Not Correctly Authorize Access to Issuer Metadata
Attackers can remove issuers or modify metadata in HashiCorp Vault PKI mounts due to missing authorization, causing denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-0665?
CVE-2023-0665 is a medium-severity missing authorization vulnerability in Hashicorp Vault, published on 30 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
HashiCorp Vault's PKI mount issuer endpoints did not correctly authorize access to remove an issuer or modify issuer metadata, potentially resulting in denial of service of the PKI mount. This bug did not affect public or private key material, trust chains or certificate issuance. Fixed in Vault 1.13.1, 1.12.5, and 1.11.9.
Weakness: CWE-285
Which versions are affected by CVE-2023-0665?
8 open source packages ship an affected version, including github.com/hashicorp/vault and vault. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/hashicorp/vault Go | All versions | 1.11.9, 1.12.5, 1.13.1 |
github.com/hashicorp/vault Go | All versions | 1.11.9 |
github.com/hashicorp/vault Go | All versions | 1.11.9 |
github.com/hashicorp/vault Go | From 1.12.0 | 1.12.5 |
github.com/hashicorp/vault Go | From 1.12.0 | 1.12.5 |
github.com/hashicorp/vault Go | From 1.13.0 | 1.13.1 |
2 more packages
github.com/hashicorp/vault Go | From 1.13.0 | 1.13.1 |
vault Bitnami | All versions | 1.11.9, 1.12.5, 1.13.1 |
Products include Hashicorp Vault.
How do I fix CVE-2023-0665?
Upgrade github.com/hashicorp/vault to a fixed version for your release line: 1.11.9, 1.12.5 or 1.13.1.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2023-0665 being exploited?
There is no known exploitation of CVE-2023-0665 in the wild and no public exploit code.
Other vulnerabilities in Hashicorp Vault
Sources
Also known as BIT-vault-2023-0665, GHSA-hwc3-3qh6-r4gg, GO-2023-1708.