The whisperX API is a tool for enhancing and analyzing audio content. From 0.3.1 to 0.5.0, FileService.download_from_url() in app/services/file_service.py calls requests.get(url) with zero URL validation. The file extension check occurs AFTER the HTTP request is already made, and can be bypassed by appending .mp3 to any internal URL.
The /speech-to-text-url endpoint is unauthenticated. This vulnerability is fixed in 0.6.0.
Attack Parameters
Impact Assessment
CVSS Vector v3.1
Weakness Type (CWE)
Vulnerable Products 1
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Pavelzbornik Whisperx_Rest_Api
cpe:2.3:a:pavelzbornik:whisperx_rest_api:*:*:*:*:*:*:*:*
|
0.3.1
|
0.6.0
|