mdanter/ecc affected by timing vulnerability in cryptographic side-channels
The advisory, in context
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.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
Earlier releases before 2.0.1
Fixed in 2.0.1
1 explicitly affected versions
v2.0.0
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.0.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v2.0.0"
]
}Earlier releases through 1.0.0 (inclusive)
No fix recorded for this interval.
16 explicitly affected 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
View affected-version evidence
{
"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"
]
}