| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Renovate PR Review Results⚖️ Safety Assessment: ✅ Safe🔍 Release Content AnalysisThis PR updates langchain-openai from version 1.0.3 to 1.1.14, which includes a critical security patch for an SSRF (Server-Side Request Forgery) vulnerability. Security Fix (GHSA-r7w7-9xr2-qq2r):
Additional Updates:
Breaking Changes:
🎯 Impact Scope InvestigationDirect Usage Analysis:
Dependency Chain Impact:
Configuration Impact:
Code Compatibility:
💡 Recommended ActionsImmediate Actions:
Verification Steps:
Why This Is Safe:
🔗 Reference Links
Generated by koki-develop/claude-renovate-review |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This PR contains the following updates:
GitHub Vulnerability Alerts
GHSA-r7w7-9xr2-qq2r
Summary
langchain-openai's _url_to_size() helper (used by get_num_tokens_from_messages for image token counting) validated URLs for SSRF protection and then fetched them in a separate network operation with independent DNS resolution. This left a TOCTOU / DNS rebinding window: an attacker-controlled hostname could resolve to a public IP during validation and then to a private/localhost IP during the actual fetch.
The practical impact is limited because the fetched response body is passed directly to Pillow's Image.open() to extract dimensions — the response content is never returned, logged, or otherwise exposed to the caller. An attacker cannot exfiltrate data from internal services through this path. A potential risk is blind probing (inferring whether an internal host/port is open based on timing or error behavior).
Affected versions
Patched versions
Affected code
File: libs/partners/openai/langchain_openai/chat_models/base.py — _url_to_size()
The vulnerable pattern was a validate-then-fetch with separate DNS resolution:
Fix
The fix replaces the validate-then-fetch pattern with an SSRF-safe httpx transport (SSRFSafeSyncTransport from langchain-core) that:
This fix was released in langchain-openai 1.1.14.
Severity
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.