# CVE-2025-62375: go-witness Improper Verification of AWS EC2 Identity Documents

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.9
- **CVSS:** 6.9 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: Low; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.35% (percentile 21, 2026-11-26)
- **CWE:** CWE-295
- **Aliases:** GHSA-72c7-4g63-hpw5, GO-2025-4028
- **Published:** 2025-10-15T19:23:24.916Z
- **Modified:** 2026-10-08T11:10:00.250Z

## Who should check

- Projects that depend on Go package github.com/in-toto/go-witness (\< 0.9.1)
- Anyone running in-toto go-witness \< 0.9.1

## Description

go-witness and witness are Go modules for generating attestations. In go-witness versions 0.8.6 and earlier and witness versions 0.9.2 and earlier the AWS attestor improperly verifies AWS EC2 instance identity documents. Verification can incorrectly succeed when a signature is not present or is empty, and when RSA signature verification fails. The attestor also embeds a single legacy global AWS public certificate and does not account for newer region specific certificates issued in 2024, making detection of forged documents difficult without additional trusted region data. An attacker able to supply or intercept instance identity document data (such as through Instance Metadata Service impersonation) can cause a forged identity document to be accepted, leading to incorrect trust decisions based on the attestation. This is fixed in go-witness 0.9.1 and witness 0.10.1. As a workaround, manually verify the included identity document, signature, and public key with standard tools (for example openssl) following AWS’s verification guidance, or disable use of the AWS attestor until upgraded.

## Affected and fixed versions

- Go `github.com/in-toto/go-witness`: affected \< 0.9.1; fixed 0.9.1 (osv)
- in-toto go-witness: \< 0.9.1 (cvelist)

## Mitigation

- Upgrade github.com/in-toto/go-witness to 0.9.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-62375. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-62375.md
Affected: github.com/in-toto/go-witness < 0.9.1
Fixed in: 0.9.1

Steps:
1. Search this machine and project for github.com/in-toto/go-witness (Go), in-toto go-witness: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-62375 being exploited?

There is no confirmed exploitation: CVE-2025-62375 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.35% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-62375?

Medium: CVSS 6.9 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-62375?

github.com/in-toto/go-witness \< 0.9.1.

### Is there a fix for CVE-2025-62375?

Yes. Fixed in 0.9.1. Upgrade github.com/in-toto/go-witness to 0.9.1 or later.

### How do I check if I'm affected by CVE-2025-62375?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/in-toto/go-witness/security/advisories/GHSA-72c7-4g63-hpw5>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-62375>
- patch: <https://github.com/in-toto/go-witness/commit/04ff20b600e28ce8fd1aa287534dd383a1cfefb9>
- other: <https://github.com/in-toto/go-witness>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-62375>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-72c7-4g63-hpw5> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2025-4028> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-62375> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-62375>
