GHSA-425C-CCF3-3JRR
Vulnerability from github – Published: 2019-11-15 23:10 – Updated: 2021-01-08 19:57
VLAI?
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: * Open an issue in the slpjs repo * Email us at info@slp.cash
Severity ?
5.7 (Medium)
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "slpjs"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.21.4"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2019-16762"
],
"database_specific": {
"cwe_ids": [
"CWE-20"
],
"github_reviewed": true,
"github_reviewed_at": "2020-06-16T20:56:55Z",
"nvd_published_at": null,
"severity": "CRITICAL"
},
"details": "## Validator parsing discrepancy due to string encoding\n\n### Impact\nA 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.\n\n### Patches\nAll versions \u003e 0.21.3 are patched.\n\n### Workarounds\nUpgrade to any version \u003e= 0.21.4.\n\n### References\nThe bug was located and fixed [here](https://github.com/simpleledger/slpjs/commit/ac8809b42e47790a6f0205991b36f2699ed10c84#diff-fe58606994c412ba56a65141a7aa4a62L701).\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in the [slpjs repo](https://github.com/simpleledger/slpjs/issues)\n* Email us at [info@slp.cash](mailto:info@slp.cash)",
"id": "GHSA-425c-ccf3-3jrr",
"modified": "2021-01-08T19:57:59Z",
"published": "2019-11-15T23:10:35Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/simpleledger/slpjs/security/advisories/GHSA-425c-ccf3-3jrr"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2019-16762"
},
{
"type": "WEB",
"url": "https://github.com/simpleledger/slpjs/commit/ac8809b42e47790a6f0205991b36f2699ed10c84#diff-fe58606994c412ba56a65141a7aa4a62L701"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-425c-ccf3-3jrr"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "Critical severity vulnerability that affects slpjs"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…