MEDIUM5.7
GHSA-wmx6-vxcf-c3gr
Validation Bypass in slp-validate
Quick fix
GHSA-wmx6-vxcf-c3gr — slp-validate: upgrade to the fixed version with the command below.
npm install slp-validate@1.0.1Details
Versions of `slp-validate` prior to 1.0.1 are vulnerable to a validation bypass. Bitcoin scripts may cause the validation result from `slp-validate` to differ from the specified SLP consensus. This allows an attacker to create a Bitcoin script that causes a hard-fork from the SLP consensus.
## Recommendation
Upgrade to version 1.0.1 or later.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/simpleledger/slp-validate/security/advisories/GHSA-wmx6-vxcf-c3gr[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2019-16761[ADVISORY]
- https://github.com/simpleledger/slp-validate/commit/50ad96c2798dad6b9f9a13333dd05232defe5730#diff-fe58606994c412ba56a65141a7aa4a62L123[WEB]
- https://github.com/advisories/GHSA-wmx6-vxcf-c3gr[ADVISORY]
- https://www.npmjs.com/advisories/1422[WEB]