CVE-2019-10764: Simplito/elliptic php Timing Attacks Might Allow Practical Vulnerability

HIGH
Advisory Identifier: GHSA-mr6r-82x4-f4jj
CVSS 7.4
CWE-203
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2019-10764
GHSA Identifier GHSA-mr6r-82x4-f4jj
Severity HIGH
CVSS v3.1 Base Score 7.4
CWE Classification CWE-203: Observable Discrepancy
Affected Product Simplito/elliptic php
Package Ecosystem Packagist
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (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.

simplito/elliptic-php fixed: 1.0.6
Upgrade simplito/elliptic-php to 1.0.6
Verify Direct and Transitive Dependencies

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

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.

CVE-2019-10764 Affected Simplito/elliptic php Versions

1 component(s)
Fixed Versions:
1.0.6
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?
CVE-2019-10764 is a security vulnerability in Simplito/elliptic php involving Timing attacks might allow practical recovery of the long-term private key under CWE-203: Observable Discrepancy.
Which Simplito/elliptic php versions are affected?
Affected versions include releases prior to 1.0.6 across affected packages: simplito/elliptic-php.
What version fixes CVE-2019-10764?
Upgrading to 1.0.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is simplito/elliptic-php affected?
Yes, simplito/elliptic-php is affected in releases prior to 1.0.6. Upgrade your dependency to 1.0.6 or later.
What is the CVSS score of CVE-2019-10764?
CVE-2019-10764 has a CVSS v3.1 base score of 7.4 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2019-10764?
CVE-2019-10764 is classified under CWE-203: Observable Discrepancy (The product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor.).
How can I check Packagist dependencies for CVE-2019-10764?
Run the dependency tree command: 'inspect dependencies for simplito/elliptic-php'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}