CWE-1279: Cryptographic Operations are run Before Supporting Units are Ready

BaseIncomplete

Performing cryptographic operations without ensuring that the supporting inputs are ready to supply valid data may compromise the cryptographic result.

View on MITRE
Back to CWE Lookup

Extended Description

Many cryptographic hardware units depend upon other hardware units to supply information to them to produce a securely encrypted result. For example, a cryptographic unit that depends on an external random-number-generator (RNG) unit for entropy must wait until the RNG unit is producing random numbers. If a cryptographic unit retrieves a private encryption key from a fuse unit, the fuse unit must be up and running before a key may be supplied.

Technical Details

Structure
Simple

Applicable To

Languages
VerilogVHDLNot Language-Specific
Platforms
Not OS-Specific

Frequently Asked Questions

What is CWE-1279: Cryptographic Operations are run Before Supporting Units are Ready?+

CWE-1279: Cryptographic Operations are run Before Supporting Units are Ready is a Common Weakness Enumeration (CWE) entry maintained by MITRE. Performing cryptographic operations without ensuring that the supporting inputs are ready to supply valid data may compromise the cryptographic result. Many cryptographic hardware units depend upon other hardware units to supply information to them to produce a securely encrypted result. For example, a cryptographic unit that depends on an external random-number-generator (RNG) unit for entropy must wait until the RNG unit is producing random numbers. If a cryptographic unit retrieves a private encryption key from a fuse unit, the fuse unit must be up and running before a key may be supplied.

What are the security consequences of Cryptographic Operations are run Before Supporting Units are Ready?+

If exploited, CWE-1279 (Cryptographic Operations are run Before Supporting Units are Ready) it can compromise Access Control, Confidentiality, Integrity, Availability, Accountability and Authentication, leading to outcomes such as Varies by Context.

How do you prevent or mitigate Cryptographic Operations are run Before Supporting Units are Ready?+

Recommended mitigations for CWE-1279 include: Best practices should be used to design cryptographic systems. Continuously ensuring that cryptographic inputs are supplying valid information is necessary to ensure that the encrypted output is secure.

Which programming languages are affected by Cryptographic Operations are run Before Supporting Units are Ready?+

CWE-1279 commonly affects Verilog, VHDL and Not Language-Specific. Note that weaknesses are often language-agnostic patterns, so secure coding practices apply broadly.

What is the difference between a CWE and a CVE?+

A CWE (Common Weakness Enumeration) like CWE-1279 describes a category of software weakness — the underlying flaw type. A CVE (Common Vulnerabilities and Exposures) identifies a specific, real-world vulnerability in a particular product. In short, a CWE is the kind of mistake, and a CVE is an instance of that mistake being found in software.

Learn More