{"answers":{"affected":"2 open source packages ship an affected version, including PostQuantum-Feldman-VSS and postquantum-feldman-vss.","exploited":"There is no known exploitation of CVE-2025-29779 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-29779 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-29779 is a medium-severity vulnerability in DavidOsipov PostQuantum-Feldman-VSS, published on 14 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-29779 and fix it if it is affected.\n\nWhat it is: CVE-2025-29779 is a medium-severity vulnerability in DavidOsipov PostQuantum-Feldman-VSS, published on 14 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-29779 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- PostQuantum-Feldman-VSS (PyPI): affected all versions up to 0.8.0b2; no fix listed\n- postquantum-feldman-vss (PyPI): affected all versions up to 0.8.0b2; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-29779/ (Markdown: https://insights.sbomify.com/CVE-2025-29779/index.md)","id":"CVE-2025-29779","markdown":"https://insights.sbomify.com/CVE-2025-29779/index.md","name":"CVE-2025-29779","record":{"aliases":["GHSA-r8gc-qc2c-c7vh"],"analysis":{"component_type":"library","fix_type":"no_fix_stated","impacts":["data_read","security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Python VSS library","requires_auth":"none","summary":"Inadequate fault injection countermeasures allow attackers with physical access to bypass security checks, extract secret coefficients, or accept invalid shares in the VSS scheme.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.4,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-1279","name":"Cryptographic Operations are Run Before Supporting Units are Ready"},{"id":"CWE-1240","name":"Use of a Cryptographic Primitive with a Risky Implementation"}],"description":"Post-Quantum Secure Feldman's Verifiable Secret Sharing provides a Python implementation of Feldman's Verifiable Secret Sharing (VSS) scheme. In versions 0.8.0b2 and prior, 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, and 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. 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, and/or manipulate the commitment verification process to accept fraudulent commitments. This undermines the core security guarantees of the Verifiable Secret Sharing scheme. As of time of publication, no patched versions of Post-Quantum Secure Feldman's Verifiable Secret Sharing exist, but other mitigations are available. Long-term remediation requires reimplementing the security-critical functions in a lower-level language like Rust. Short-term mitigations include deploying the software in environments with physical security controls, increasing the redundancy count (from 5 to a higher number) by modifying the source code, adding external verification of cryptographic operations when possible, considering using hardware security modules (HSMs) for key operations.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Post-Quantum Secure Feldman's Verifiable Secret Sharing has Inadequate Fault Injection Countermeasures in `secure_redundant_execution`","id":"CVE-2025-29779","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"security_feature_bypass","year":"2025"},"n_packages":2,"n_references":3,"next":{"headline":"Post-Quantum Secure Feldman's Verifiable Secret Sharing has Timing Side-Channels in Matrix Operations","id":"CVE-2025-29780"},"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["0.8.0b2"],"package":"PostQuantum-Feldman-VSS","purl":null,"source":"GHSA-r8gc-qc2c-c7vh"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["0.8.0b2"],"package":"postquantum-feldman-vss","purl":"pkg:pypi/postquantum-feldman-vss","source":"GHSA-r8gc-qc2c-c7vh"}],"prev":{"headline":"Kyverno ignores subjectRegExp and IssuerRegExp","id":"CVE-2025-29778"},"products":["PostQuantum-Feldman-VSS"],"published":"2025-03-14","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-03-19","vendors":["DavidOsipov"]},"summary":"Inadequate fault injection countermeasures allow attackers with physical access to bypass security checks, extract secret coefficients, or accept invalid shares in the VSS scheme.","url":"https://insights.sbomify.com/CVE-2025-29779/"}