Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CWE-214 (通过处理环境导致的信息暴露) — Vulnerability Class 15

15 vulnerabilities classified as CWE-214 (通过处理环境导致的信息暴露). AI Chinese analysis included.

CWE-214 represents a critical information exposure weakness where sensitive data is inadvertently passed to a new process via command-line arguments or environment variables. Because many operating systems permit users to inspect the process lists of other users, attackers can easily retrieve this visible information to extract credentials, tokens, or other confidential details. This vulnerability is typically exploited by monitoring active processes to harvest sensitive parameters that were intended to remain private within the application’s execution context. To mitigate this risk, developers should avoid embedding secrets in process invocations entirely. Instead, they must utilize secure mechanisms such as reading sensitive data from protected files, using dedicated secure memory buffers, or leveraging operating system-specific secure storage APIs that ensure data remains inaccessible to other processes and unauthorized users.

MITRE CWE Description
A process is invoked with sensitive command-line arguments, environment variables, or other elements that can be seen by other processes on the operating system. Many operating systems allow a user to list information about processes that are owned by other users. Other users could see information such as command line arguments or environment variable settings. When this data contains sensitive information such as credentials, it might allow other users to launch an attack against the product or related resources.
Common Consequences (1)
ConfidentialityRead Application Data
Examples (1)
In the example below, the password for a keystore file is read from a system property.
String keystorePass = System.getProperty("javax.net.ssl.keyStorePassword"); if (keystorePass == null) { System.err.println("ERROR: Keystore password not specified."); System.exit(-1); } ...
Bad · Java

Vulnerabilities classified as CWE-214 (通过处理环境导致的信息暴露) represent 15 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.