CVE-2017-7822 Weak cryptography in Firefox

Medium 5.3 Published Updated

Firefox's WebCrypto API incorrectly accepts zero-length IVs in AES-GCM, potentially allowing attackers to determine authentication keys.

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

What is CVE-2017-7822?

CVE-2017-7822 is a medium-severity vulnerability in Mozilla Firefox, published on 11 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The AES-GCM implementation in WebCrypto API accepts 0-length IV when it should require a length of 1 according to the NIST Special Publication 800-38D specification. This might allow for the authentication key to be determined in some instances. This vulnerability affects Firefox < 56.

Which versions are affected by CVE-2017-7822?

It affects 1 product.

Products include Mozilla Firefox.

How do I fix CVE-2017-7822?

Upgrade to a fixed version.

Is CVE-2017-7822 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-rhrf-cx66-4xf3, UBUNTU-CVE-2017-7822.

Is CVE-2017-7822 in your software?

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

Check your SBOMs for free