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

Critical 9.8 Published Updated

Attackers can bypass cryptographic checks to leak private keys or forge valid signatures in the MSR JavaScript Cryptography Library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-1026?

CVE-2020-1026 is a critical vulnerability in Microsoft Research JavaScript Cryptography Library V1.4, published on 15 Apr 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A Security Feature Bypass vulnerability exists in the MSR JavaScript Cryptography Library that is caused by multiple bugs in the library’s Elliptic Curve Cryptography (ECC) implementation.An attacker could potentially abuse these bugs to learn information about a server’s private ECC key (a key leakage attack) or craft an invalid ECDSA signature that nevertheless passes as valid.The security update addresses the vulnerability by fixing the bugs disclosed in the ECC implementation, aka 'MSR JavaScript Cryptography Library Security Feature Bypass Vulnerability'.

Weakness: CWE-347, CWE-200

Which versions are affected by CVE-2020-1026?

2 open source packages ship an affected version, including msrcrypto. It affects 1 product.

PackageAffectedFixed in
msrcrypto npmAll versions1.5.8
msrcrypto npmAll versions1.5.8

Products include Microsoft Research Javascript Cryptography Library.

How do I fix CVE-2020-1026?

Upgrade msrcrypto to 1.5.8 or later.

Is CVE-2020-1026 being exploited?

There is no known exploitation of CVE-2020-1026 in the wild and no public exploit code.

Sources

Also known as GHSA-9x9j-836w-8f55.

Is CVE-2020-1026 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free