Description:
The secure_redundant_execution function in feldman_vss.py attempts to mitigate fault injection attacks by executing a function multiple times and comparing results. However, several critical weaknesses exist:
These limitations make the protection ineffective against targeted fault injection attacks, especially from attackers with physical access to the hardware.
Impact:
A successful fault injection attack could allow an attacker to:
This undermines the core security guarantees of the Verifiable Secret Sharing scheme.
References:
feldman_vss.pysecure_redundant_executionRemediation:
Long-term remediation requires reimplementing the security-critical functions in a lower-level language like Rust.
Short-term mitigations:
{
"cwe_ids": [
"CWE-1240"
],
"github_reviewed": true,
"github_reviewed_at": "2025-03-14T19:55:17Z",
"nvd_published_at": "2025-03-14T18:15:32Z",
"severity": "MODERATE"
}