Intel

AIKIDO-2024-10407

prefect is vulnerable to Server-side Request Forgery (SSRF)

Server-side Request Forgery (SSRF) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Nov 4, 2024

80

High Risk

This Affects:

pythonprefect
2.8.0 - 2.20.10
Fixed in 2.20.11
3.0.0 - 3.0.1
Fixed in 3.0.2
Are you affected? Scan for Free

TL;DR

Affected versions of the package are vulnerable to Server-side Request Forgery (SSRF). If a user self-hosts a Prefect API exposed to external users, a malicious user can configure a notification URL that points to an internal API, such as an internal cloud provider API. This could lead to unauthorized access and exposure of sensitive information.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

prefect is vulnerable to Server-side Request Forgery (SSRF) in versions 2.8.0 - 2.20.10 and 3.0.0 - 3.0.1.

How to fix this

Upgrade the prefect library to a patch version.