GHSA-w4mf-755j-wjwc: `verify_x509_cert` does not check the certificate validity period

Published Nov 10, 2026
·
Updated

tdxworkloadattestation::verification::x509::verifyx509cert(), available with the host-verification feature, checked that issuercert issued cert and verified the certificate signature. It did not check the certificate's validity period, so it accepted expired and not-yet-valid certificates.

With the host-gcp-tdx feature, this function validates the GCP launch endorsement signing certificate against the GCE confidential-computing TCB root certificate. A signing certificate outside its validity period was therefore still accepted during launch endorsement verification.

Intel describes the issue as improper certificate validation and classifies it as escalation of privilege, with a CVSS 4.0 base score of 5.9, in INTEL-SA-01520.

The flaw was corrected in #86, released in 0.2.0. The function now returns Ok(false) when the current time is outside the certificate's notBefore/notAfter range.

Reported by Borys Tsyrulnikov.

Affected Software

1 affected componentFixes available
rust/tdx_workload_attestation>=0.0.0-0<0.2.0
0.2.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rust/tdx_workload_attestation to a version that resolves this vulnerability.

    Fixed in 0.2.0
  2. Upgrade

    Upgrade tdx_workload_attestation to a version that resolves this vulnerability.

    Fixed in 0.2.0

Event History

Nov 10, 2026
Advisory Published
via OSV·12:00 PM
Data Sourced
via OSV·12:00 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which deployments are affected?

Deployments using tdx_workload_attestation with the host-verification feature are affected if they call verify_x509_cert(). The described GCP launch endorsement verification path specifically requires the host-gcp-tdx feature.

2

What would an attacker need to exploit this?

An attacker would need a certificate that is otherwise accepted as issued by the configured issuer and has a valid signature, but whose notBefore/notAfter validity period has not started or has expired. The vulnerable function accepted such certificates because it did not evaluate the current time against those fields.

3

What version fixes the issue?

The correction was released in tdx_workload_attestation 0.2.0. The fixed function returns Ok(false) when the current time falls outside the certificate validity period.

4

How can I determine whether my implementation is exposed?

Check whether your dependency version predates 0.2.0 and whether host-verification is enabled. Also identify uses of verify_x509_cert(), particularly GCP launch endorsement validation enabled through host-gcp-tdx.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203