8.7high
Evervault Go SDK: Incomplete PCR Validation in Enclave Attestation for non-Evervault hosted Enclaves
- Severity
- 8.7high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.15% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-88h9-77c7-p6w4GO-2025-4112
Description
Evervault is a payment security solution. A vulnerability was identified in the `evervault-go` SDK’s attestation verification logic in versions of `evervault-go` prior to 1.3.2 that may allow incomplete documents to pass validation. This may cause the client to trust an enclave operator that does not meet expected integrity guarantees. The exploitability of this issue is limited in Evervault-hosted environments as an attacker would require the pre-requisite ability to serve requests from specific evervault domain names, following from our ACME challenge based TLS certificate acquisition pipeline. The vulnerability primarily affects applications which only check PCR8. Though the efficacy is also reduced for applications that check all PCR values, the impact is largely remediated by checking PCR 0, 1 and 2. The identified issue has been addressed in version 1.3.2 by validating attestation documents before storing in the cache, and replacing the naive equality checks with a new SatisfiedBy check. Those who useevervault-go to attest Enclaves that are hosted outside of Evervault environments and cannot upgrade have two possible workarounds available. Modify the application logic to fail verification if PCR8 is not explicitly present and non-empty and/or add custom pre-validation to reject documents that omit any required PCRs.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| evervault evervault-go | < 1.3.2 | CVE List |
| github.com/evervault/evervault-go (Go) | before 1.3.2 | GitHub Advisory Database, Go Vulnerability Database |
| evervault evervault | before 1.3.2 | NVD |
All scores
| GitHub_M | 8.7high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N |
| GitHub | 8.7high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
Evervault is a payment security solution. A vulnerability was identified in the `evervault-go` SDK’s attestation verification logic in versions of `evervault-go` prior to 1.3.2 that may allow incomplete documents to pass validation. This may cause the client to trust an enclave operator that does not meet expected integrity guarantees. The exploitability of this issue is limited in Evervault-hosted environments as an attacker would require the pre-requisite ability to serve requests from specific evervault domain names, following from our ACME challenge based TLS certificate acquisition pipeline. The vulnerability primarily affects applications which only check PCR8. Though the efficacy is also reduced for applications that check all PCR values, the impact is largely remediated by checking PCR 0, 1 and 2. The identified issue has been addressed in version 1.3.2 by validating attestation documents before storing in the cache, and replacing the naive equality checks with a new SatisfiedBy check. Those who useevervault-go to attest Enclaves that are hosted outside of Evervault environments and cannot upgrade have two possible workarounds available. Modify the application logic to fail verification if PCR8 is not explicitly present and non-empty and/or add custom pre-validation to reject documents that omit any required PCRs.
GitHub Advisory Database
Summary
A vulnerability was identified in the evervault-go SDK’s attestation verification logic that may allow incomplete documents to pass validation. This may cause the client to trust an enclave operator that does not meet expected integrity guarantees.
The exploitability of this issue is limited in Evervault-hosted environments as an attacker would require the pre-requisite ability to serve requests from specific evervault domain names, following from our ACME challenge based TLS certificate acquisition pipeline.
The vulnerability primarily affects applications which only check PCR8. Though the efficacy is also reduced for applications that check all PCR values, the impact is largely remediated by checking PCR 0, 1 and 2.
Patches
The identified issue has been addressed in version 1.3.2 by validating attestation documents before storing in the cache, and replacing the naive equality checks with a new SatisfiedBy check.
Workarounds
If you are using evervault-go to attest Enclaves that are hosted outside of Evervault environments and cannot upgrade:
- Modify your application logic to fail verification if PCR8 is not explicitly present and non-empty
- Add custom pre-validation to reject documents that omit any required PCRs.
POC
package evervault
import (
"testing"
"github.com/evervault/evervault-go/attestation"
"github.com/stretchr/testify/assert"
"github.com/hf/nitrite"
)
func TestVulnerableCompare(t *testing.T) {
assert := assert.New(t)
// arrange
expectedPCRs := []attestation.PCRs{
attestation.PCRs{
PCR0:
"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001",
PCR1:
"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002",
PCR2:
"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003",
PCR8:
"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004",
},
}
actualDocument := nitrite.Document {}
actualDocument.PCRs = map[uint][]byte{
10: make([]byte, 32),
}
// act
v := verifyPCRs(expectedPCRs, actualDocument)
// assert
// Verify should not pass but it does
assert.Equal(true, v)
}
Go Vulnerability Database
Evervault Go SDK: Incomplete PCR Validation in Enclave Attestation for non-Evervault hosted Enclaves in github.com/evervault/evervault-go
NVD (es)
Evervault es una solución de seguridad de pagos. Se identificó una vulnerabilidad en la lógica de verificación de atestación del SDK 'evervault-go' en versiones de 'evervault-go' anteriores a la 1.3.2 que puede permitir que documentos incompletos pasen la validación. Esto puede causar que el cliente confíe en un operador de enclave que no cumple con las garantías de integridad esperadas. La explotabilidad de este problema es limitada en entornos alojados por Evervault, ya que un atacante requeriría la capacidad pre-requisito de servir solicitudes desde nombres de dominio específicos de evervault, siguiendo nuestra cadena de adquisición de certificados TLS basada en el desafío ACME. La vulnerabilidad afecta principalmente a las aplicaciones que solo verifican PCR8. Aunque la eficacia también se reduce para las aplicaciones que verifican todos los valores de PCR, el impacto se remedia en gran medida al verificar PCR 0, 1 y 2. El problema identificado se ha abordado en la versión 1.3.2 validando los documentos de atestación antes de almacenarlos en la caché y reemplazando las comprobaciones de igualdad ingenuas con una nueva comprobación SatisfiedBy. Aquellos que usan 'evervault-go' para atestiguar Enclaves que están alojados fuera de los entornos de Evervault y no pueden actualizar tienen dos posibles soluciones alternativas disponibles. Modificar la lógica de la aplicación para que la verificación falle si PCR8 no está explícitamente presente y no vacío y/o añadir una pre-validación personalizada para rechazar documentos que omitan cualquier PCR requerido.
References
| https://github.com/evervault/evervault-go/security/advisories/GHSA-88h9-77c7-p6w4 | advisory, exploit, vendor-advisory, web | |
| https://github.com/evervault/evervault-go/pull/48 | fix, issue-tracking, patch, web | |
| https://github.com/evervault/evervault-go/commit/7c824d289bba11ec0bea46a338023f5b128bbb28 | fix, patch, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-64186 | advisory | |
| https://github.com/evervault/evervault-go | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-64186 changed 2025-11-14 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-88h9-77c7-p6w4 changed 2025-11-18 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-4112 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2025-64186 changed 2026-10-18 | Public domain |