CVE-2019-10764: Simplito/elliptic php Timing Attacks Might Allow Practical Vulnerability
HIGHCVE-2019-10764 is a HIGH (CVSS 7.4) timing attacks might allow practical vulnerability (CWE-203: Observable Discrepancy) affecting Simplito/elliptic php libraries in the Packagist ecosystem. The issue involves timing attacks might allow practical recovery of the long-term private key. Remediation is available by upgrading affected packages to version 1.0.6.
CVE-2019-10764 at a Glance
Security Impact
CVSS: 7.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2019-10764
To remediate this vulnerability, upgrade all affected Simplito/elliptic php dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade simplito/elliptic-php to 1.0.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for simplito/elliptic-php
How to Check if You Are Affected
To determine whether your application is affected by CVE-2019-10764, inspect your project dependencies for Simplito/elliptic php:
inspect dependencies for simplito/elliptic-php
Analyze the terminal output to locate any version of Simplito/elliptic php in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.6), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-203: Observable Discrepancy, where the product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor. In Simplito/elliptic php, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2019-10764 Affected Simplito/elliptic php Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
simplito/elliptic-php
|
Packagist |
< 1.0.6
|
1.0.6
|
References
Frequently Asked Questions
What is CVE-2019-10764?
Which Simplito/elliptic php versions are affected?
What version fixes CVE-2019-10764?
Is simplito/elliptic-php affected?
What is the CVSS score of CVE-2019-10764?
What CWE is associated with CVE-2019-10764?
How can I check Packagist dependencies for CVE-2019-10764?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mr6r-82x4-f4jj",
"modified" : "2021-08-18T22:40:49Z",
"published" : "2019-11-20T01:34:50Z",
"aliases" : [ "CVE-2019-10764" ],
"summary" : "Timing attacks might allow practical recovery of the long-term private key",
"details" : "In elliptic-php versions priot to 1.0.6, Timing attacks might be possible which can result in practical recovery of the long-term private key generated by the library under certain conditions. Leakage of a bit-length of the scalar during scalar multiplication is possible on an elliptic curve which might allow practical recovery of the long-term private key.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "simplito/elliptic-php"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.0.6"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-10764"
}, {
"type" : "WEB",
"url" : "https://github.com/simplito/elliptic-php/commit/15652609aa55968d56685c2a9120535ccdc00fd9"
}, {
"type" : "WEB",
"url" : "https://minerva.crocs.fi.muni.cz"
}, {
"type" : "WEB",
"url" : "https://snyk.io/vuln/SNYK-PHP-SIMPLITOELLIPTICPHP-534576"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-203" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2019-11-19T03:07:02Z",
"nvd_published_at" : null
}
}