Skip to content
vetkitChecksChangelogDocumentation

vetkit.java.jndi-injection.context-lookup

A JNDI lookup name comes from request data (JNDI injection, can load remote classes).

Last updated:

Suite: Security

java

A JNDI lookup name comes from request data (JNDI injection, can load remote classes).

Category: SECURITY · Engine rule severity: ERROR

How to fix it

Look up only fixed, server-defined JNDI names; never pass user input to Context.lookup.

References

Source: packages/engine/rules/sast/java.yml.

Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.