{"id":"CVE-2021-38553","aliases":["BIT-vault-2021-38553","GHSA-23fq-q7hc-993r","GO-2022-0620"],"summary":"HashiCorp Vault and Vault Enterprise 1.4.0 through 1.7.3 initialized an underlying database file associated with the Integrated Storage feature with excessively broad filesystem permissions.","published_at":"2021-08-13T00:00:00Z","modified_at":"2026-09-08T08:48:21.306591Z","products":[{"slug":"vault","name":"HashiCorp Vault","category":"secrets"}],"rating":{"severity":"critical","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Low","vendor_ratings":[{"source":"Red Hat","rating":"Low"}]},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.0027099999133497477,"percentile":0.19652000069618225,"date":"2026-11-19T00:00:00Z"},"priority":11.8,"details":"HashiCorp Vault and Vault Enterprise 1.4.0 through 1.7.3 initialized an underlying database file associated with the Integrated Storage feature with excessively broad filesystem permissions. Fixed in Vault and Vault Enterprise 1.8.0.","affected_stack":[{"ecosystem":"Bitnami","package":"vault","purl":"pkg:bitnami/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.4.0"},{"fixed":"1.8.0"}]}],"fixed":["1.8.0"],"provider":"osv","source":"BIT-vault-2021-38553","relation":"self"},{"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.4.0"},{"fixed":"1.8.0"}]}],"fixed":["1.8.0"],"provider":"osv","source":"GHSA-23fq-q7hc-993r","relation":"self"},{"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.4.0"},{"fixed":"1.8.0"}]}],"fixed":["1.8.0"],"provider":"osv","source":"GO-2022-0620","relation":"self"},{"ecosystem":"NVD","package":"hashicorp:vault","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.0"},{"fixed":"1.8.0"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.4.0"},{"fixed":"1.8.0"}]}],"fixed":["1.8.0","1.8.0"],"provider":"nvd","source":"CVE-2021-38553","relation":"self"}],"affected_other":[],"product_status":[{"vendor":"Red Hat","product":"Logging Subsystem for Red Hat OpenShift","cpe":"cpe:/a:redhat:logging:5","status":"not_affected","packages":["openshift-logging/logging-loki-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-38553"},{"vendor":"Red Hat","product":"OpenShift Service Mesh 2.0","cpe":"cpe:/a:redhat:service_mesh:2.0","status":"not_affected","packages":["servicemesh","servicemesh-istioctl","servicemesh-mixc","servicemesh-mixs","servicemesh-pilot-agent","servicemesh-pilot-discovery"],"package_count":6,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-38553"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"not_affected","packages":["vault"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-38553"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"affected","packages":["openshift4/ose-installer","openshift4/topology-aware-lifecycle-manager-rhel8-operator"],"package_count":2,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2021-38553"},{"vendor":"Red Hat","product":"Red Hat Openshift Container Storage 4","cpe":"cpe:/a:redhat:openshift_container_storage:4","status":"affected","packages":["ocs4/cephcsi-rhel8","ocs4/mcg-rhel8-operator","ocs4/ocs-rhel8-operator","ocs4/rook-ceph-rhel8-operator"],"package_count":4,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2021-38553"},{"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4","cpe":"cpe:/a:redhat:openshift_data_foundation:4","status":"not_affected","packages":["odf4/cephcsi-rhel9","odf4/mcg-rhel9-operator","odf4/ocs-rhel9-operator","odf4/odf-multicluster-rhel9-operator","odf4/odf-rhel8-operator","odf4/odr-rhel8-operator","odf4/rook-ceph-rhel8-operator"],"package_count":7,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-38553"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2021-38553","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2021-38553","license":"CC-BY-4.0","published_at":"2021-08-13T15:48:47Z","modified_at":"2024-08-04T01:44:23.384Z","summary":"HashiCorp Vault and Vault Enterprise 1.4.0 through 1.7.3 initialized an underlying database file associated with the Integrated Storage feature with excessively broad filesystem permissions.","details":"HashiCorp Vault and Vault Enterprise 1.4.0 through 1.7.3 initialized an underlying database file associated with the Integrated Storage feature with excessively broad filesystem permissions. Fixed in Vault and Vault Enterprise 1.8.0.","severity":[],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2021-20-vault-s-integrated-storage-backend-database-file-may-have-excessively-broad-permissions/28168"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202207-01"}]},{"provider":"nvd","source_id":"CVE-2021-38553","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38553","severity":[],"affected":[{"ecosystem":"NVD","package":"hashicorp:vault","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.0"},{"fixed":"1.8.0"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.4.0"},{"fixed":"1.8.0"}]}],"fixed":["1.8.0","1.8.0"],"provider":"nvd","source":"CVE-2021-38553","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"BIT-vault-2021-38553","relation":"self","url":"https://osv.dev/vulnerability/BIT-vault-2021-38553","license":"Apache-2.0","published_at":"2024-03-06T11:10:43.095Z","modified_at":"2026-09-08T08:48:21.306591Z","details":"HashiCorp Vault and Vault Enterprise 1.4.0 through 1.7.3 initialized an underlying database file associated with the Integrated Storage feature with excessively broad filesystem permissions. Fixed in Vault and Vault Enterprise 1.8.0.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","source":"BIT-vault-2021-38553"}],"affected":[{"ecosystem":"Bitnami","package":"vault","purl":"pkg:bitnami/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.4.0"},{"fixed":"1.8.0"}]}],"fixed":["1.8.0"],"provider":"osv","source":"BIT-vault-2021-38553","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://discuss.hashicorp.com/t/hcsec-2021-20-vault-s-integrated-storage-backend-database-file-may-have-excessively-broad-permissions/28168"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202207-01"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38553"}]},{"provider":"osv","source_id":"GHSA-23fq-q7hc-993r","relation":"self","url":"https://osv.dev/vulnerability/GHSA-23fq-q7hc-993r","license":"CC-BY-4.0","published_at":"2021-08-30T17:22:53Z","modified_at":"2024-08-21T15:26:58.57403Z","summary":"HashiCorp Vault underlying database had excessively broad filesystem permissions from v1.4.0 until v1.8.0","details":"HashiCorp Vault and Vault Enterprise 1.4.0 through 1.7.3 initialized an underlying database file associated with the Integrated Storage feature with excessively broad filesystem permissions. Fixed in Vault and Vault Enterprise 1.8.0.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"GHSA-23fq-q7hc-993r"}],"affected":[{"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.4.0"},{"fixed":"1.8.0"}]}],"fixed":["1.8.0"],"provider":"osv","source":"GHSA-23fq-q7hc-993r","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38553"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2021-20-vault-s-integrated-storage-backend-database-file-may-have-excessively-broad-permissions/28168"},{"type":"WEB","url":"https://github.com/hashicorp/vault"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202207-01"}]},{"provider":"osv","source_id":"GO-2022-0620","relation":"self","url":"https://osv.dev/vulnerability/GO-2022-0620","license":"CC-BY-4.0","published_at":"2024-08-21T15:11:40Z","modified_at":"2026-03-03T04:50:46.238231Z","summary":"HashiCorp Vault underlying database had excessively broad filesystem permissions from v1.4.0 until v1.8.0 in github.com/hashicorp/vault","details":"HashiCorp Vault underlying database had excessively broad filesystem permissions from v1.4.0 until v1.8.0 in github.com/hashicorp/vault","severity":[],"affected":[{"ecosystem":"Go","package":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"introduced":"1.4.0"},{"fixed":"1.8.0"}]}],"fixed":["1.8.0"],"provider":"osv","source":"GO-2022-0620","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-23fq-q7hc-993r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38553"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2021-20-vault-s-integrated-storage-backend-database-file-may-have-excessively-broad-permissions/28168"},{"type":"WEB","url":"https://github.com/hashicorp/vault"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202207-01"}]},{"provider":"redhat-vex","source_id":"CVE-2021-38553","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2021-38553","license":"CC-BY-4.0","published_at":"2021-08-13T00:00:00Z","modified_at":"2023-10-25T17:21:56Z","summary":"vault: Underlying database file with excessively broad filesystem permissions","details":"A flaw was found in the Vault package. Affected versions of the HashiCorp Vault initialized an underlying database file associated with the Integrated Storage feature, which has excessively broad filesystem permissions.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","source":"CVE-2021-38553"},{"type":"Red Hat","score":"Low","source":"CVE-2021-38553"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Logging Subsystem for Red Hat OpenShift","cpe":"cpe:/a:redhat:logging:5","status":"not_affected","packages":["openshift-logging/logging-loki-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-38553"},{"vendor":"Red Hat","product":"OpenShift Service Mesh 2.0","cpe":"cpe:/a:redhat:service_mesh:2.0","status":"not_affected","packages":["servicemesh","servicemesh-istioctl","servicemesh-mixc","servicemesh-mixs","servicemesh-pilot-agent","servicemesh-pilot-discovery"],"package_count":6,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-38553"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"not_affected","packages":["vault"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-38553"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"affected","packages":["openshift4/ose-installer","openshift4/topology-aware-lifecycle-manager-rhel8-operator"],"package_count":2,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2021-38553"},{"vendor":"Red Hat","product":"Red Hat Openshift Container Storage 4","cpe":"cpe:/a:redhat:openshift_container_storage:4","status":"affected","packages":["ocs4/cephcsi-rhel8","ocs4/mcg-rhel8-operator","ocs4/ocs-rhel8-operator","ocs4/rook-ceph-rhel8-operator"],"package_count":4,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2021-38553"},{"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4","cpe":"cpe:/a:redhat:openshift_data_foundation:4","status":"not_affected","packages":["odf4/cephcsi-rhel9","odf4/mcg-rhel9-operator","odf4/ocs-rhel9-operator","odf4/odf-multicluster-rhel9-operator","odf4/odf-rhel8-operator","odf4/odr-rhel8-operator","odf4/rook-ceph-rhel8-operator"],"package_count":7,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-38553"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-38553.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-38553"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1995209"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-38553"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38553"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2021-20-vault-s-integrated-storage-backend-database-file-may-have-excessively-broad-permissions/28168"}]}],"references":[{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2021-20-vault-s-integrated-storage-backend-database-file-may-have-excessively-broad-permissions/28168"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202207-01"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38553"},{"type":"WEB","url":"https://github.com/hashicorp/vault"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-23fq-q7hc-993r"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-38553.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-38553"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1995209"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-38553"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2021-38553","url":"https://www.cve.org/CVERecord?id=CVE-2021-38553","license":"CC-BY-4.0","modified_at":"2024-08-04T01:44:23.384Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2021-38553","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38553","relation":"self"},{"provider":"osv","source_id":"BIT-vault-2021-38553","url":"https://osv.dev/vulnerability/BIT-vault-2021-38553","license":"Apache-2.0","modified_at":"2026-09-08T08:48:21.306591Z","relation":"self"},{"provider":"osv","source_id":"GHSA-23fq-q7hc-993r","url":"https://osv.dev/vulnerability/GHSA-23fq-q7hc-993r","license":"CC-BY-4.0","modified_at":"2024-08-21T15:26:58.57403Z","relation":"self"},{"provider":"osv","source_id":"GO-2022-0620","url":"https://osv.dev/vulnerability/GO-2022-0620","license":"CC-BY-4.0","modified_at":"2026-03-03T04:50:46.238231Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2021-38553","url":"https://access.redhat.com/security/cve/CVE-2021-38553","license":"CC-BY-4.0","modified_at":"2023-10-25T17:21:56Z","relation":"self"}]}
