GHSA-j7c9-79x7-8hpr

Suggest an improvement
Source
https://github.com/advisories/GHSA-j7c9-79x7-8hpr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-j7c9-79x7-8hpr/GHSA-j7c9-79x7-8hpr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-j7c9-79x7-8hpr
Aliases
Downstream
Published
2025-12-03T16:27:59Z
Modified
2026-09-10T03:50:31Z
Severity
  • 5.0 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:H CVSS Calculator
Summary
step-ca Has Improper Authorization Check for SSH Certificate Revocation
Details

Summary

An authorized attacker can bypass authorization checks and revoke any SSH certificate issued by Step CA by using a valid revocation token.

Details

Step CA users can obtain SSH certificates from a few provisioners. The SSHPOP provisioner allows revocation of the SSH certificate (preventing future certificate renewals) using a token. Due to a missing validity check, this token could be used to revoke any SSH certificate issued by the CA.

To create a token, an attacker must have access to the CA endpoint and a valid SSH certificate, meaning they were already authorized to obtain an SSH certificate. The attacker must also know the serial number of the certificate they want to revoke.

Impact

There is no way to mitigate this attack. It is recommended to update to v0.29.0 or newer.

Fix

In v0.29.0, the token validation logic was strengthened to bind each token to a specific SSH certificate serial number.

Acknowledgements

This issue was identified and reported by Gabriel Departout and Andy Russon, from AMOSSYS. This audit was sponsored by ANSSI (French Cybersecurity Agency) based on their Open-Source security audit program.

Embargo List

If your organization runs Step CA in production and would like advance, embargoed notification of future security updates, visit https://u.step.sm/disclosure to request inclusion on our embargo list.

Stay safe, and thank you for helping us keep the ecosystem secure.

Database specific
{
    "cwe_ids": [
        "CWE-285",
        "CWE-863"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2025-12-03T16:27:59Z",
    "nvd_published_at": "2025-12-03T20:16:26Z",
    "severity": "MODERATE"
}
References

Affected packages

Go / github.com/smallstep/certificates

Package

Name
github.com/smallstep/certificates
View open source insights on deps.dev
Purl
pkg:golang/github.com/smallstep/certificates

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.29.0

Database specific

last_known_affected_version_range
"<= 0.28.4"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-j7c9-79x7-8hpr/GHSA-j7c9-79x7-8hpr.json"