CWE-1188: Initialization of a Resource with an Insecure Default
low-riskThe product initializes or sets a resource with a default that is intended to be changed by the product's installer, administrator, or maintainer, but the default is not secure.
Abstraction: Base
Common Consequences
Other
→
Varies by Context
Detection Methods
Automated Static Analysis
Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
Real-World Examples (10)
| CVE | CVSS | EPSS | KEV |
|---|---|---|---|
| CVE-2022-24706 | 9.8 | 94.4% | Y |
| CVE-2022-24706 | 9.8 | 94.4% | Y |
| CVE-2020-13927 | 9.8 | 94.1% | Y |
| CVE-2020-13927 | 9.8 | 94.1% | Y |
| CVE-2020-11532 | 9.8 | 89.4% | — |
| CVE-2021-35336 | 9.8 | 88.4% | — |
| CVE-2021-41192 | 8.1 | 87.6% | — |
| CVE-2021-41192 | 8.1 | 87.6% | — |
| CVE-2022-25568 | 7.5 | 85.3% | — |
| CVE-2023-27524 | 8.9 | 84.0% | Y |
10
/ 100
low-risk
Active Threat
9/50 · Minimal
Exploit Availability
1/50 · Minimal