Skip to content
vetkitChecksChangelogDocumentation

vetkit.java.tls.weak-protocol

A deprecated SSL/TLS protocol version (SSLv3, TLS 1.0 or TLS 1.1) is requested.

Last updated:

Suite: Security

java

A deprecated SSL/TLS protocol version (SSLv3, TLS 1.0 or TLS 1.1) is requested.

Category: SECURITY · Engine rule severity: WARNING

How to fix it

Use SSLContext.getInstance("TLS") (or "TLSv1.3") and leave protocol selection to the JDK defaults.

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.