Server-side Request Forgery (SSRF) Affecting fastagency package, versions [,0.2.4)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

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

Introduced: 1 Nov 2024

New CVE NOT AVAILABLE CWE-918 Open this link in a new tab

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.

References

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
8.8 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    High
  • Integrity (VI)
    Low
  • Availability (VA)
    None
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None