Step CA affected by an index out of bounds panic in TPM attestation EKU validation
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| smallstep | certificates | affected |
|
Configuration 1 [-]
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Smallstep | Certificates |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-9qq8-cgcv-qmc9 | Step CA affected by an index out of bounds panic in TPM attestation EKU validation |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.188% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Smallstep step-ca
|
|
| CPEs | cpe:2.3:a:smallstep:step-ca:*:*:*:*:*:go:*:* cpe:2.3:a:smallstep:step-ca:0.30.0:rc1:*:*:*:go:*:* cpe:2.3:a:smallstep:step-ca:0.30.0:rc2:*:*:*:go:*:* |
|
| Vendors & Products |
Smallstep step-ca
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Smallstep
Smallstep certificates |
|
| Vendors & Products |
Smallstep
Smallstep certificates |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Step CA affected by an index out of bounds panic in TPM attestation EKU validation | |
| Weaknesses | CWE-129 | |
| References |
| |
| Metrics |
cvssV3_1
|