Advisory

RUSTSEC-2019-0004

Also known as: CVE-2019-15545, GHSA-4q4x-67hx-5mpg

Summary

Failure to properly verify ed25519 signatures makes any signature valid

Details

Affected versions of this crate did not properly verify ed25519 signatures.
Any signature with a correct length was considered valid.

This allows an attacker to impersonate any node identity.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Dates

Published
2019-05-15 12:00 UTC
Modified
2023-11-08 04:01 UTC

Affected packages and fixes

libp2p-core

crates.io · All systems

Affected

  • introduced 0.3.0, fixed 0.7.1, introduced 0.8.0-0, fixed 0.8.1 (semver)

Fixed versions

0.7.1, 0.8.1

Fix

  • Fixed version 0.7.1
    cargo update -p libp2p-core --precise 0.7.1
  • Fixed version 0.8.1
    cargo update -p libp2p-core --precise 0.8.1

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: RustSec Advisory Database · CC0-1.0

Sources & licences