GitHub Advisoryadvisory · Packagist
GHSA-3494-cfwf-56hw mdanter/ecc affected by timing vulnerability in cryptographic side-channels
MEDIUM
Official page ↗
- Aliases
- CVE-2024-33851
- Ecosystem
- Packagist
- Packages
- paragonie/ecc, mdanter/ecc
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- Reviewed
- 2024-05-10
Affected packages
• Packagist paragonie/ecc: < 2.0.1 → fixed in 2.0.1
• Packagist mdanter/ecc: <= 1.0.0 (no fix yet)
Description
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.
Related
Alias · CVE (1)
- CVE-2024-33851 phpecc, as used in paragonie/phpecc before 2.0.1, has a branch-based timing leak in Point addition. vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-33851 advisory
- https://github.com/phpecc/phpecc/issues/289 web
- https://github.com/FriendsOfPHP/security-advisories/blob/master/mdanter/ecc/CVE-2024-33851.yaml web
- https://github.com/paragonie/phpecc/releases/tag/v2.0.0 web
- https://github.com/paragonie/phpecc/releases/tag/v2.0.1 web