CVE-2020-1026: Incorrect Calculation in the MSR JavaScript Cryptography Library

msrcrypto Updated 02 Oct 2025

Summary

06/01/2022
Yes i
High
9.8

CVE-2020-1026: Incorrect Calculation in the MSR JavaScript Cryptography Library. Affects msrcrypto versions < 1.5.8. Fixed in 1.5.8. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The MSR JavaScript Cryptography Library is an open-source library that provides cryptographic functionality for JavaScript applications. It includes various algorithms and functions for encryption, decryption, hashing, and digital signatures. The library is commonly used in web applications that require secure communication and data protection. However, a vulnerability has been discovered in the library's Elliptic Curve Cryptography (ECC) implementation, which can lead to a security feature bypass.

Vulnerability Detail

The vulnerability in the MSR JavaScript Cryptography Library is caused by multiple bugs in its ECC implementation. These bugs can be exploited by an attacker to gain information about a server's private ECC key or to craft an invalid ECDSA signature that appears valid. This can result in unauthorized access to sensitive data or the ability to perform malicious actions on the affected system. The security update for the library addresses these bugs and prevents the vulnerability from being exploited.

How To Fix

Minimum fixed version

1.5.8

This is the first release that contains the fix.

npm install msrcrypto@1.5.8

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround provided for this vulnerability. The recommended solution is to apply the security update and update the library to the patched version.

Conclusion

The MSR JavaScript Cryptography Library is vulnerable to a security feature bypass due to bugs in its ECC implementation. This can lead to unauthorized access to sensitive information or the ability to perform malicious actions. To mitigate the risk, it is crucial to update the library to version 1.5.8 or later and review any code that relies on its ECC functionality. For additional support, contact DevNack.com.

See every vulnerability recorded for msrcrypto →

Share this vulnerability

FAQ

The vulnerability can lead to a security feature bypass, allowing an attacker to gain access to sensitive information or perform unauthorized actions on the affected system.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will provide real-time monitoring and alerts for open-source vulnerabilities, including this one.

There are no known exploits for this vulnerability at the time of this report. However, it is important to apply the security update as soon as possible to mitigate the risk.

Yes, this vulnerability can be exploited remotely. An attacker can target the affected system over a network connection to exploit the ECC implementation bugs and bypass security features.

For further support on vulnerability remediation, you can contact info@devnack.com. They can provide assistance and guidance in addressing this vulnerability in your application.

Related vulnerabilities

Recent vulnerabilities recorded for msrcrypto.

How To Fix

Minimum fixed version

1.5.8

This is the first release that contains the fix.

npm install msrcrypto@1.5.8

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback