diff --git a/defects/ktor/patch/CLEAN.md b/defects/ktor/patch/CLEAN.md new file mode 100644 index 000000000..8e3054b33 --- /dev/null +++ b/defects/ktor/patch/CLEAN.md @@ -0,0 +1,11 @@ +# CLEAN — Ktor + +Scanned 2026-03-29 for CWE-407 (algorithmic complexity). + +## Findings + +- YamlConfig recursive value traversal — CLEAN: correctly guarded with `!visited.add(value)` +- JsonSchemaInference Kotlin reflection — CLEAN: proper visited set guards +- Plugin registration, content negotiation — CLEAN: safe HashMap-based dispatch + +**Result: No actionable CWE-407 defects.** diff --git a/defects/undertow/patch/CLEAN.md b/defects/undertow/patch/CLEAN.md new file mode 100644 index 000000000..875aefb91 --- /dev/null +++ b/defects/undertow/patch/CLEAN.md @@ -0,0 +1,11 @@ +# CLEAN — Undertow + +Scanned 2026-03-29 for CWE-407 (algorithmic complexity). + +## Findings + +- AllowedContentEncodings linear scan — N is bounded by number of content encodings (typically 2-5); not actionable +- SingleSignOnAuthenticationMechanism — CLEAN: guarded with `seenSessionManagers.add(manager)` return check +- Predicate parser, handler chains — CLEAN: HashMap-based dispatch, no linear scans in hot paths + +**Result: No actionable CWE-407 defects.**