Skip to main content

CWE-537: Java Runtime Error Message Containing Sensitive Information

VariantIncomplete

In many cases, an attacker can leverage the conditions that cause unhandled exception errors in order to gain unauthorized access to the system.

View on MITRE
Back to CWE Lookup

Technical Details

Structure
Simple

Applicable To

Languages
Java
Platforms

Frequently Asked Questions

What is CWE-537: Java Runtime Error Message Containing Sensitive Information?+

CWE-537: Java Runtime Error Message Containing Sensitive Information is a Common Weakness Enumeration (CWE) entry maintained by MITRE. In many cases, an attacker can leverage the conditions that cause unhandled exception errors in order to gain unauthorized access to the system.

What are the security consequences of Java Runtime Error Message Containing Sensitive Information?+

If exploited, CWE-537 (Java Runtime Error Message Containing Sensitive Information) it can compromise Confidentiality, leading to outcomes such as Read Application Data.

How do you prevent or mitigate Java Runtime Error Message Containing Sensitive Information?+

Recommended mitigations for CWE-537 include: Do not expose sensitive error information to the user.

Which programming languages are affected by Java Runtime Error Message Containing Sensitive Information?+

CWE-537 commonly affects Java. 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-537 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