CVE-2020-25816 json
Token leases could outlive their TTL in HashiCorp Vault
published 6y ago modified 2mo ago also BIT-vault-2020-25816 , EUVD-2022-2522 , GHSA-57gg-cj55-q5g2 , GO-2024-2514
- cvss
- 6.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 63%
- public exploits
- 0
- none known
Summary
HashiCorp Vault and Vault Enterprise versions 1.0 and newer allowed leases created with a batch token to outlive their TTL because expiration time was not scheduled correctly. Fixed in 1.4.7 and 1.5.4.
Patch / fix
- go github.com/hashicorp/vault 1.5.4
- bitnami vault 1.4.7, 1.5.4
- hashicorp vault 1.4.7, 1.5.4
- vault Alpine 3.12 1.4.7-r0
- vault Alpine 3.18, Alpine 3.17, Alpine 3.16 +3 more 1.5.4-r0
alpine advisories ALPINE-CVE-2020-25816
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2020-25816 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-25816 updated cvss 6.8
vault: Incorrect access control
-
Red Hat Openshift Container Storage 4 ocs4/cephcsi-rhel8, ocs4/mcg-rhel8-operator, ocs4/ocs-rhel8-operator, ocs4/ocs-must-gather-rhel8, ocs4/rook-ceph-rhel8-operatoraffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Container Platform 4 openshift4/ose-installer, openshift4/topology-aware-lifecycle-manager-rhel8-operator Red Hat Openshift Data Foundation 4 odf4/cephcsi-rhel9, odf4/mcg-rhel9-operator, odf4/ocs-rhel9-operator, odf4/odf-rhel8-operator, odf4/rook-ceph-rhel8-operator, odf4/odf-multicluster-rhel9-operatornot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.01% chance of exploitation in the next 30 days, higher than 63% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 6.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | 2.0 | 4.9 | AV:N/AC:M/Au:S/C:P/I:P/A:N |
| OSV | 3.1 | 6.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/hashicorp/vault | >=1.0.0-beta1, <1.5.4 >=1.0.0, <1.5.4 |
1.5.4 |
| bitnami | vault | >=1.0.0, <1.4.7 >=1.5.0, <1.5.4 |
1.4.7 1.5.4 |
Classification
- Weakness
-
- CWE-613 DEPRECATED: Insufficient Session Expiration
References
-
github.com
/hashicorp/vault/pull/10020/commits/f192878110fe93eb13da914b2bee28caa7866a29
web, patch
-
hashicorp.com
/blog/category/vault
web, vendor-advisory, advisory
-
github.com
/hashicorp/vault/blob/master/CHANGELOG.md#154
web, release-notes, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-25816
advisory, web
-
github.com
/hashicorp/vault
package
-
github.com
/hashicorp/vault/blob/master/CHANGELOG.md#147
web
-
github.com
/advisories/GHSA-57gg-cj55-q5g2
advisory
Sources
- CVE List CVE-2020-25816
- GitHub Advisory GHSA-57gg-cj55-q5g2
- NVD CVE-2020-25816
- OSV BIT-vault-2020-25816
- OSV GO-2024-2514
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.