File tree Expand file tree Collapse file tree
java/ql/src/Security/CWE/CWE-113 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ public class ResponseSplitting {
44 // BAD: Disables the internal response splitting verification
55 private final DefaultHttpHeaders badHeaders = new DefaultHttpHeaders (false );
66
7- // GOOD: Verifies headers passed don't contain CLRF characters
7+ // GOOD: Verifies headers passed don't contain CRLF characters
88 private final DefaultHttpHeaders badHeaders = new DefaultHttpHeaders ();
99}
Original file line number Diff line number Diff line change 1+ /**
2+ * @name Disabled Netty HTTP header validation
3+ * @description Disabling HTTP header validation makes code vulnerable to
4+ * attack by header splitting if user input is written directly to
5+ * an HTTP header.
6+ * @kind problem
7+ * @problem.severity error
8+ * @precision high
9+ * @id java/netty-http-response-splitting
10+ * @tags security
11+ * external/cwe/cwe-113
12+ */
13+
114import java
215
316from ClassInstanceExpr new
You can’t perform that action at this time.
0 commit comments