fix(doris): harden Stream Load HTTP with SSRF-safe client
Doris Stream Load previously used a plain http.Client, leaving FE→BE redirects and stored FE URLs without outbound SSRF checks. Use the shared SSRFSafeHTTPClient, validate URLs at send time, and only forward Basic credentials to whitelisted BE hosts after FE 307 redirects.
This commit is contained in:
+3
-1
@@ -291,7 +291,9 @@ services:
|
||||
# overrides don't clobber it. (postgres is intentionally NOT listed: it
|
||||
# is not a user-registerable vector store, and whitelisting the app's own
|
||||
# DB host would skip the 5432 port block.)
|
||||
- SSRF_WHITELIST_EXTRA=${SSRF_WHITELIST_EXTRA:-searxng,qdrant,milvus,weaviate,doris-fe}
|
||||
# doris-be: Stream Load follows FE→BE redirects that must receive Basic
|
||||
# credentials on whitelisted BE hosts.
|
||||
- SSRF_WHITELIST_EXTRA=${SSRF_WHITELIST_EXTRA:-searxng,qdrant,milvus,weaviate,doris-fe,doris-be}
|
||||
- CONCURRENCY_POOL_SIZE=${CONCURRENCY_POOL_SIZE:-5}
|
||||
- JWT_SECRET=${JWT_SECRET:-}
|
||||
# File size limit (in MB)
|
||||
|
||||
Reference in New Issue
Block a user