WebCrypto allows AES-GCM with 0-length IV in Mozilla Firefox - CVE-2017-7822

 

WebCrypto allows AES-GCM with 0-length IV in Mozilla Firefox - CVE-2017-7822

Published: September 28, 2017 / Updated: September 29, 2017


Vulnerability identifier: #VU8630
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2017-7822
CWE-ID: CWE-310
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Mozilla
Affected software:
Mozilla Firefox

Detailed vulnerability description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

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.

How to mitigate CVE-2017-7822

Update to version 56.0.

Sources