{"id":"GHSA-3494-cfwf-56hw","aliases":["CVE-2024-33851"],"title":"mdanter/ecc affected by timing vulnerability in cryptographic side-channels","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.)\n\nParagon Initiative Enterprises [hard-forked phpecc/phpecc](https://github.com/phpecc/phpecc/issues/289) and discovered the issue in the original code, then released v2.0.1 which fixes the vulnerability. [The upstream code](https://github.com/phpecc/phpecc) is no longer maintained and remains vulnerable for all versions.","severity":"medium","score":4.3,"published":"2024-04-28T00:30:22.000Z","modified":"2024-12-05T05:49:06.376Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"paragonie/ecc","ranges":[{"events":[{"introduced":"0"},{"fixed":"2.0.1"}],"type":"ECOSYSTEM"}],"versions":["v2.0.0"],"fixed":["2.0.1"]},{"ecosystem":"Packagist","name":"mdanter/ecc","ranges":[{"events":[{"introduced":"0"},{"last_affected":"1.0.0"}],"type":"ECOSYSTEM"}],"versions":["0.2.0","v0.3.0","v0.3.1","v0.3.2","v0.4.0","v0.4.1","v0.4.2","v0.4.3","v0.4.4","v0.4.5","v0.4.6","v0.4.7","v0.5.0","v0.5.1","v0.5.2","v1.0.0"],"fixed":[]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2024-33851","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/paragonie/phpecc/releases/tag/v2.0.1"],"sources":[{"name":"OSV","id":"GHSA-3494-cfwf-56hw","modified":"2024-12-05T05:49:06.376791Z","url":"https://osv.dev/vulnerability/GHSA-3494-cfwf-56hw"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3},{"source":"OSV","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":5.3}]}