curl_cffi is the a Python binding for curl. Prior to 0.15.0, curl_cffi does not restrict requests to internal IP ranges, and follows redirects automatically via the underlying libcurl. Because of this, an attacker-controlled URL can redirect requests to internal services such as cloud metadata endpoints. In addition, curl_cffi’s TLS impersonation feature can make these requests appear as legitimate browser traffic, which may bypass certain network controls. This vulnerability is fixed in 0.15.0.
The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Curl_cffi | Lexiforest | * | 0.15.0 (excluding) |
| Curl_cffi | Lexiforest | 0.15.0-beta1 (including) | 0.15.0-beta1 (including) |
| Curl_cffi | Lexiforest | 0.15.0-beta2 (including) | 0.15.0-beta2 (including) |
| Curl_cffi | Lexiforest | 0.15.0-beta3 (including) | 0.15.0-beta3 (including) |
| Curl_cffi | Lexiforest | 0.15.0-beta4 (including) | 0.15.0-beta4 (including) |