Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-45042

In HashiCorp Vault and Vault Enterprise before 1.7.7, 1.8.x before 1.8.6, and 1.9.x before 1.9.1, clusters using the Integrated Storage backend allowed an authenticated user (with write permissions to a kv secrets engine) to cause a panic and denial of service of the storage backend. The earliest affected version is 1.4.0.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-45042
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 08:18 UTC · Revision 1

Source evidence

CVE-2021-45042

core-osv · Original source

Published 17 Dec 2021, 14:15 UTC

In HashiCorp Vault and Vault Enterprise before 1.7.7, 1.8.x before 1.8.6, and 1.9.x before 1.9.1, clusters using the Integrated Storage backend allowed an authenticated user (with write permissions to a kv secrets engine) to cause a panic and denial of service of the storage backend. The earliest affected version is 1.4.0.

osv:CVE-2021-45042
Complete source record
{
  "id": "820bedfe2e4b3abdb8be59f20e51d2b1f52c7d476b76554bd1d9106564c38288",
  "url": "https://osv.dev/vulnerability/CVE-2021-45042",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-45042",
    "summary": "In HashiCorp Vault and Vault Enterprise before 1.7.7, 1.8.x before 1.8.6, and 1.9.x before 1.9.1, clusters using the Integrated Storage backend allowed an authenticated user (with write permissions to a kv secrets engine) to cause a panic and denial of service of the storage backend. The earliest affected version is 1.4.0.",
    "evidence": "osv:CVE-2021-45042",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-45042",
      "aliases": [
        "BIT-vault-2021-45042",
        "CVE-2021-45042"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/hashicorp/vault",
              "type": "GIT",
              "events": [
                {
                  "introduced": "d808ace758b9bac5c84a9634ffbfae43c5f5a3ad"
                },
                {
                  "fixed": "77b9623370a1da48362693d606ef28f678018378"
                },
                {
                  "introduced": "82a99f14eb6133f99a975e653d4dac21c17505c7"
                },
                {
                  "fixed": "c35f4359cb924bca5278690d29ab1dd6928321c3"
                },
                {
                  "introduced": "6dae166b52e0d65147991d143045ad929eb3d71b"
                },
                {
                  "last_affected": "6dae166b52e0d65147991d143045ad929eb3d71b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*",
                    "range": [
                      {
                        "introduced": "1.4.0"
                      },
                      {
                        "fixed": "1.7.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "1.4.0"
                      },
                      {
                        "fixed": "1.7.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*",
                    "range": [
                      {
                        "introduced": "1.8.0"
                      },
                      {
                        "fixed": "1.8.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "1.8.0"
                      },
                      {
                        "fixed": "1.8.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:hashicorp:vault:1.9.0:*:*:*:-:*:*:*",
                    "range": [
                      {
                        "introduced": "1.9.0"
                      },
                      {
                        "last_affected": "1.9.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:hashicorp:vault:1.9.0:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "1.9.0"
                      },
                      {
                        "last_affected": "1.9.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.9.0",
            "v1.9.0",
            "v1.8.5",
            "v1.8.4",
            "v1.8.3",
            "v1.8.2",
            "v1.8.1",
            "v1.8.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-45042.json"
          }
        }
      ],
      "modified": "2026-10-24T10:31:05.732272034Z",
      "provider": "osv",
      "references": [
        "https://discuss.hashicorp.com/t/hcsec2-21-33-vault-s-kv-secrets-engine-with-integrated-storage-exposed-to-authenticated-denial-of-service/33157",
        "https://security.gentoo.org/glsa/202207-01",
        "https://www.hashicorp.com/blog/category/vault"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-45042",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 440830,
  "published_at": "2021-12-17T14:15:07.667+00:00"
}