{"id":"CVE-2019-16762","published":"2019-11-15T23:10:57Z","modified":"2024-08-05T01:24:47Z","title":"Validator parsing discrepancy due to string encoding in NPM slpjs","vendor":"simpleledger","product":"slpjs","tier":"tail","description":{"text":"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. Affected users can upgrade to any version >= 0.21.4.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01096,"percentile":0.6639,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/simpleledger/slpjs/security/advisories/GHSA-425c-ccf3-3jrr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/simpleledger/slpjs/commit/ac8809b42e47790a6f0205991b36f2699ed10c84#diff-fe58606994c412ba56a65141a7aa4a62L701","tags":["x_refsource_MISC"]}],"priority":{"score":17.3,"factors":[{"name":"EPSS percentile","points":13.28},{"name":"CVSS severity","points":3.99}]},"vendorSlug":"simpleledger","affectedVersions":[{"vendor":"simpleledger","product":"slpjs","versions":[">= < 0.21.4, < 0.21.4"]}],"affected":[{"ecosystem":"npm","package":"slpjs","vulnerableRanges":["<0.21.4"],"patched":["0.21.4"],"from":["GHSA-425c-ccf3-3jrr"],"provenance":"source"}],"summary":{"text":"The validator in the slpjs npm package, published by simpleledger, contains a parsing discrepancy caused by how strings are encoded. An attacker who can get a specially crafted Bitcoin script processed by the package can make its validation results diverge from the SLP consensus rules, potentially forcing a hard fork; exploitation requires high attack complexity, high privileges, and user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:59:45Z"},"euvd":{"id":"EUVD-2019-0725","exploited":false,"provenance":"source"}}