Advisory

GHSA-3494-cfwf-56hw

Also known as: CVE-2024-33851

Summary

mdanter/ecc affected by timing vulnerability in cryptographic side-channels

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-04-28 00:30 UTC
Modified
2024-12-05 05:49 UTC

Affected packages and fixes

paragonie/ecc

Packagist · All systems

Affected

  • introduced 0, fixed 2.0.1 (ecosystem)

Fixed versions

2.0.1

Fix

The export has no generic command for this ecosystem.

mdanter/ecc

Packagist · All systems

Affected

  • introduced 0, last affected 1.0.0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences