{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-14966","id":"CVE-2020-14966","title":"ECDSA signature validation vulnerability by accepting wrong ASN.1 encoding in jsrsasign","description":"An issue was discovered in the jsrsasign package through 8.0.18 for Node.js. It allows a malleability in ECDSA signatures by not checking overflows in the length of a sequence and '0' characters appended or prepended to an integer. The modified signatures are verified as valid. This could have a security-relevant impact if an application relied on a single canonical signature.","descriptionLong":"An issue was discovered in the jsrsasign package through 8.0.18 for Node.js. It allows a malleability in ECDSA signatures by not checking overflows in the length of a sequence and '0' characters appended or prepended to an integer. The modified signatures are verified as valid. This could have a security-relevant impact if an application relied on a single canonical signature.","published":"2020-06-22T11:20:13.000Z","updated":"2026-10-20T10:51:51.952032717Z","reserved":"2020-06-22T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"GitHub"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"jsrsasign","purl":"pkg:npm/jsrsasign","ranges":[">=4.0.0 <8.0.19"],"fixed":["8.0.19"],"advisory":"GHSA-p8c3-7rj8-q963"}],"cwes":["CWE-347"],"aliases":["GHSA-p8c3-7rj8-q963"],"references":[{"url":"https://kjur.github.io/jsrsasign/","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory"]},{"url":"https://www.npmjs.com/package/jsrsasign","tags":["x_refsource_MISC","x_transferred","Product","Third Party Advisory","advisory","web"]},{"url":"https://github.com/kjur/jsrsasign/issues/437","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/kjur/jsrsasign/releases/tag/8.0.18","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://github.com/kjur/jsrsasign/releases/tag/8.0.17","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://security.netapp.com/advisory/ntap-20200724-0001/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/kjur/jsrsasign/security/advisories/GHSA-p8c3-7rj8-q963","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-14966","tags":["advisory"]},{"url":"https://github.com/kjur/jsrsasign/commit/6087412d072a57074d3c4c1b40bdde0460d53a7f","tags":["web"]},{"url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-14966","tags":["web"]},{"url":"https://github.com/kjur/jsrsasign","tags":["package"]},{"url":"https://kjur.github.io/jsrsasign","tags":["web"]},{"url":"https://kjur.github.io/jsrsasign/api/symbols/ASN1HEX.html#.checkStrictDER","tags":["web"]},{"url":"https://kjur.github.io/jsrsasign/api/symbols/KJUR.crypto.ECDSA.html","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20200724-0001","tags":["web"]},{"url":"https://vuldb.com/?id.157123","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01176,"epssPercentile":0.68247,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-14966","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-14966","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-14966","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-p8c3-7rj8-q963","ok":true,"note":"GHSA-p8c3-7rj8-q963"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-14966","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}