> CVE-2026-40097 [LOW]

« BACK_TO_HOME
PUBLISHED
2026-04-10 17:17
MODIFIED
2026-04-10 17:17
CVSS_SCORE V3
3.7
EPSS (Prob. Exploit)
0.19%
Top 91.5%
DATA SOURCES:
NVD đź”— 2026-04-10 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-11-08 GITHUB đź”— 2026-11-05 OSV đź”— 2026-11-02

> DESCRIPTION

Step CA is an online certificate authority for secure, automated certificate management for DevOps. From 0.24.0 to before 0.30.0-rc3, an attacker can trigger an index out-of-bounds panic in Step CA by sending a crafted attestation key (AK) certificate with an empty Extended Key Usage (EKU) extension during TPM device attestation. When processing a device-attest-01 ACME challenge using TPM attestation, Step CA validates that the AK certificate contains the tcg-kp-AIKCertificate Extended Key Usage OID. During this validation, the EKU extension value is decoded from its ASN.1 representation and the first element is checked. A crafted certificate could include an EKU extension that decodes to an empty sequence, causing the code to panic when accessing the first element of the empty slice. This vulnerability is only reachable when a device-attest-01 ACME challenge with TPM attestation is configured. Deployments not using TPM device attestation are not affected. This vulnerability is fixed in 0.30.0-rc3.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
EXPLOITABILITY
2.2
IMPACT
1.4

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
High (H)
Conditions spécifiques doivent être réunies pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
Low (L)
Interruption partielle du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
Low
Interruption partielle du service possible

> WEAKNESSES

CWE-129

> CWE DETAILED DESCRIPTIONS

CWE-129: Improper Validation of Array Index - The product uses untrusted input when calculating or using an array index, but the product does not validate or incorrectly validates the index to ensure the index references a valid position within the array.

> GITHUB SECURITY ADVISORY

GHSA-9qq8-cgcv-qmc9 LOW

Step CA affected by an index out of bounds panic in TPM attestation EKU validation

AFFECTED PACKAGES:
GO / github.com/smallstep/certificates
>= 0.24.0, < 0.30.0
Fixed in: 0.30.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Step CA affected by an index out of bounds panic in TPM attestation EKU validation

AFFECTED PACKAGES:
Unknown / Unknown
3 versions affected
ALIASES:
GHSA-9qq8-cgcv-qmc9, GO-2026-5297

> HISTORIQUE DES MODIFICATIONS

Première apparition
10/04/2026 17:17
Source: NVD
📊 ENRICHISSEMENT 01/05/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-129: Improper Validation of Array Index - The product uses untrusted input when calculating or using an array index, but the product does not validate or incorrectly validates the index to ensure ...
Total des modifications: 1 Dernière mise à jour: 6 months ago

> REFERENCES

https://github.com/smallstep/certificates/commit/ffd31ac0a87e03b0224cb8363094bfe...
https://github.com/smallstep/certificates/pull/2569
https://github.com/smallstep/certificates/releases/tag/v0.30.0
https://github.com/smallstep/certificates/security/advisories/GHSA-9qq8-cgcv-qmc...
« BACK_TO_HOME