CVE-2024-33851: mdanter/ecc affected by timing vulnerability in cryptographic side-channels
phpecc, as used in all versions of mdanter/ecc, as well as paragonie/ecc before 2.0.1, has a branch-based timing leak in Point addition. (This Composer package is also known as phpecc/phpecc on GitHub, previously known as the Matyas Danter ECC library.) Paragon Initiative Enterprises hard-forked phpecc/phpecc and discovered the issue in the original code, then released v2.0.1 which fixes the vulnerability.
Published Apr 28, 2024 · Updated Nov 4, 2024
Affected packages
paragonie/ecc
- Ecosystem
- Composer (PHP)
- Affected
- >= 0, < 2.0.1
- Fixed in
- 2.0.1
- Check
composer show paragonie/ecc
mdanter/ecc
- Ecosystem
- Composer (PHP)
- Affected
- <= 1.0.0
- Fixed in
- No patched version yet
- Check
composer show mdanter/ecc
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
phpecc, as used in all versions of mdanter/ecc, as well as paragonie/ecc before 2.0.1, has a branch-based timing leak in Point addition. (This Composer package is also known as phpecc/phpecc on GitHub, previously known as the Matyas Danter ECC library.)
Paragon Initiative Enterprises hard-forked phpecc/phpecc and discovered the issue in the original code, then released v2.0.1 which fixes the vulnerability. The upstream code is no longer maintained and remains vulnerable for all versions.
Credited to paragonie-security.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-33851
- https://github.com/paragonie/phpecc/releases/tag/v2.0.1
- https://github.com/phpecc/phpecc/issues/289
- https://github.com/FriendsOfPHP/security-advisories/blob/master/mdanter/ecc/CVE-2024-33851.yaml
- https://github.com/paragonie/phpecc/releases/tag/v2.0.0
- https://github.com/advisories/GHSA-3494-cfwf-56hw
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
