Skip to content

Security: RustCrypto/signatures

SECURITY.md

Security Policy

Supported Versions

Security updates are applied only to the most recent release.

Reporting a Vulnerability

If you have discovered a security vulnerability in this project, please report it privately. Do not disclose it as a public issue. This gives us time to work with you to fix the issue before public exposure, reducing the chance that the exploit will be used before a patch is released.

Please disclose it at security advisory.

This project is maintained by a team of volunteers on a reasonable-effort basis. As such, please give us at least 90 days to work on a fix before public exposure.

Reporting Public-Key Validation Bugs

If the verifier must already trust an attacker-chosen public key and the only claimed impact is “universal signature forgery” under that key, report the validation failure as a public GitHub issue.

In such cases, the attacker can always sign any message with a valid keypair. A correct verifier would accept the signature if it granted that public key the same trust. Such bugs do not grant an attacker any additional capabilities they wouldn't have simply by the victim trusting a malicious key in the first place.

Search the issues and pull requests, including closed ones. If the bug is already tracked, add to the existing discussion only if you have new evidence or a fix. For a new bug, name the validation failure in the issue title and omit vulnerability labels and severity ratings. Public issues let other reporters find known bugs. Unpublished private advisories are generally invisible to them.

If the defect has a credible additional impact, such as code execution while processing the key or forgery under an honest signer's independently trusted key, report it privately.

Learn more about advisories related to RustCrypto/signatures in the GitHub Advisory Database