VariantDraft

CWE-246J2EE Bad Practices: Direct Use of Sockets

Category: other

Description

The J2EE application directly uses sockets instead of using framework method calls.

Common consequences· 1

  • Other — Quality Degradation

Potential mitigations· 1

  • [Architecture and Design]Use framework method calls instead of using sockets directly.

References

  1. https://cwe.mitre.org/data/definitions/246.html

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CWE
J2EE Bad Practices: Direct Management of Connections
CWE
J2EE Bad Practices: Direct Use of Threads
CWE
EJB Bad Practices: Use of Sockets
CWE
J2EE Bad Practices: Use of System.exit()
CWE
J2EE Misconfiguration: Data Transmission Without Encryption
CWE
J2EE Misconfiguration: Entity Bean Declared Remote
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.