Advisories

curl_cffi 0.15.0 through 0.17.0 SSRF Protection Bypass via Redirect Targets

Go back
Severity
critical
Date
Affecting
  • curl_cffi >= 0.15.0, <= 0.17.0

CWE
  • CWE-918 Server-Side Request Forgery (SSRF)
CVSS
9.2
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
Credit
Zachariah Mithani (AploSec)
Description
curl_cffi 0.15.0 through 0.17.0 contains a server-side request forgery protection bypass in allow_redirects='safe' mode because is_internal_ip() omits 0.0.0.0 and IPv4-mapped IPv6 addresses. Malicious remote servers can redirect requests to 0.0.0.0 or ::ffff:-prefixed addresses to reach loopback services or cloud instance metadata and read the responses.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.