Advisory

GHSA-425c-ccf3-3jrr

Also known as: CVE-2019-16762

Summary

Critical severity vulnerability that affects slpjs

Details

Validator parsing discrepancy due to string encoding

Impact
A specially crafted Bitcoin script can cause a discrepancy between the specified SLP consensus rules and the validation result of the slpjs npm package. An attacker could create a specially crafted Bitcoin script in order to cause a hard-fork from the SLP consensus.

Patches
All versions > 0.21.3 are patched.

Workarounds
Upgrade to any version >= 0.21.4.

References
The bug was located and fixed here.

For more information
If you have any questions or comments about this advisory:

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2019-11-15 23:10 UTC
Modified
2026-07-08 05:59 UTC

Affected packages and fixes

slpjs

npm · All systems

Affected

  • introduced 0, fixed 0.21.4 (semver)

Fixed versions

0.21.4

Fix

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