Server-side Request Forgery (SSRF) Affecting fastagency package, versions [,0.2.4)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PYTHON-FASTAGENCY-8323741
- published 3 Nov 2024
- disclosed 1 Nov 2024
- credit Unknown
How to fix?
Upgrade fastagency
to version 0.2.4 or higher.
Overview
fastagency is a The fastest way to bring multi-agent workflows to production
Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the OAuth2PasswordBearer
class's get_token
method, where the token_url
is constructed from unvalidated OpenAPI schema parameters. Attackers can exploit this by supplying malicious OpenAPI schemas with crafted token_url
values, causing the application to send requests to unintended endpoints.