Know every vulnerabilitybefore it knows you.
DevGuard continuously monitors your dependencies and alerts you when CVEs like this one affect your stack — with real-time threat intelligence built for developers.
GHSA-r8gc-qc2c-c7vh
No affected components available
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:
- Python's execution environment cannot guarantee true isolation between redundant executions
- The constant-time comparison implementation in Python is subject to timing variations
- The randomized execution order and timing provide insufficient protection against sophisticated fault attacks
- The error handling may leak timing information about partial execution results
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:
- Bypass the redundancy check mechanisms
- Extract secret polynomial coefficients during share generation or verification
- Force the acceptance of invalid shares during verification
- Manipulate the commitment verification process to accept fraudulent commitments
This undermines the core security guarantees of the Verifiable Secret Sharing scheme.
References:
- File:
feldman_vss.py - Function:
secure_redundant_execution - Fault Attacks - Wikipedia article on fault attacks.
- Bar-El, H., et al. "The Sorcerer's Apprentice Guide to Fault Attacks" - https://eprint.iacr.org/2004/100.pdf
- CWE-1279: https://cwe.mitre.org/data/definitions/1279.html
- NIST SP 800-90B section on implementation validation
Remediation:
Long-term remediation requires reimplementing the security-critical functions in a lower-level language like Rust.
Short-term mitigations:
- Deploy the software in environments with physical security controls
- Increase the redundancy count (from 5 to a higher number) by modifying the source code
- Add external verification of cryptographic operations when possible
- Consider using hardware security modules (HSMs) for key operations
The vulnerability requires physical access to the device to be exploited. It is difficult for an attacker to exploit this vulnerability and may require special conditions. An attacker does not need any special privileges or access rights. No user interaction is needed for the attacker to exploit this vulnerability.
Limited exploitation activity has been observed. Close monitoring and planned remediation are recommended.
The exploit probability is very low. The vulnerability is unlikely to be exploited in the next 30 days.
We did not find any exploit available. Neither in GitHub repositories nor in the Exploit-Database.
Browse More
Continuously monitor your dependencies and get alerted when vulnerabilities like this one affect your stack.
Checkout DevGuard