Skip to content
Crypto Advisory Advanced CVE-2020-1026

MSR JavaScript Cryptography Library Security Feature Bypass Vulnerability (CVE-2020-1026)

Multiple bugs in the MSR JavaScript Cryptography Library's elliptic curve cryptography implementation could allow an attacker to learn information about a server's private ECC key or to craft an invalid ECDSA signature that is accepted as valid. The security update fixes these bugs and also improves ECDH and ECDSA to prevent rare failures with NUMS curves.

AWS Crypto Tools Follow

Originally disclosed on Microsoft

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. In addition, an internal review resulted in other improvements to prevent rare failures in ECDH and ECDSA when using the NUMS curves.

Open Source Software

Open Source Software

Issuing CNA

Microsoft

The original report as published on the Microsoft Security Response Center, by AWS Crypto Tools. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely multiple implementation errors in the library's elliptic curve cryptography code, including issues that affect ECDH and ECDSA with NUMS curves.

What the attacker needed

Use of the vulnerable library

The fix

The vulnerability was fixed by a security update that addresses the bugs in the ECC implementation and includes other improvements to prevent rare failures in ECDH and ECDSA with NUMS curves.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Elliptic curve cryptography is a way to create keys and signatures used to protect data. This library had mistakes in how it handled these curves, so an attacker might be able to guess parts of a secret key or make a fake signature that still looks real. The update corrects those mistakes.

What is Crypto?

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cryptographic weaknesses

The lesson behind this report.

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.