Medium

Post-Quantum Secure Feldman's Verifiable Secret Sharing has Inadequate Fault Injection Countermeasures in `secure_redundant_execution`

  • Disclosed: 14.03.2025
  • Updated: 11.10.2026 15:17

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:

  1. Python's execution environment cannot guarantee true isolation between redundant executions
  2. The constant-time comparison implementation in Python is subject to timing variations
  3. The randomized execution order and timing provide insufficient protection against sophisticated fault attacks
  4. 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:

  1. Bypass the redundancy check mechanisms
  2. Extract secret polynomial coefficients during share generation or verification
  3. Force the acceptance of invalid shares during verification
  4. Manipulate the commitment verification process to accept fraudulent commitments

This undermines the core security guarantees of the Verifiable Secret Sharing scheme.

References:

Remediation:

Long-term remediation requires reimplementing the security-critical functions in a lower-level language like Rust.

Short-term mitigations:

  1. Deploy the software in environments with physical security controls
  2. Increase the redundancy count (from 5 to a higher number) by modifying the source code
  3. Add external verification of cryptographic operations when possible
  4. Consider using hardware security modules (HSMs) for key operations

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) postquantum-feldman-vss <= 0.8.0b2 no fix

References

CVSS score -
CVSS vector
CVSS:4.0/AV:P/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Weakness (CWE)
CWE-1240
Platform
Python (PyPI)
Package
postquantum-feldman-vss
Disclosed
14.03.2025
Updated
11.10.2026 15:17

Sources and licenses

OSV / GitHub Advisory Database - GHSA-r8gc-qc2c-c7vh - CC BY 4.0

Vulnerability history: postquantum-feldman-vss

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
3
First → latest
03.2025 03.2025
Without a fix
2
Exploited in attacks
0

Severity breakdown

  • High 1
  • Medium 2

Disclosures per year

  1. 2025: 3
  2. 2026: 0
  1. Post-Quantum Secure Feldman's Verifiable Secret Sharing has Inadequate Fault Injection Countermeasures in `secure_redundant_execution` this entry
    Medium CVE-2025-29779 <= 0.8.0b2 no fix

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.