CVE-2024-37164 CVAT SSRF via custom cloud storage endpoints

High 7.1 Published Updated

Attackers can exploit custom cloud storage endpoints to access internal network resources, read sensitive data, or modify files on compatible internal servers.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-37164?

CVE-2024-37164 is a high-severity server-side request forgery vulnerability in cvat-ai cvat, published on 13 Jun 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Computer Vision Annotation Tool (CVAT) is an interactive video and image annotation tool for computer vision. CVAT allows users to supply custom endpoint URLs for cloud storages based on Amazon S3 and Azure Blob Storage. Starting in version 2.1.0 and prior to version 2.14.3, an attacker with a CVAT account can exploit this feature by specifying URLs whose host part is an intranet IP address or an internal domain name. By doing this, the attacker may be able to probe the network that the CVAT backend runs in for HTTP(S) servers. In addition, if there is a web server on this network that is sufficiently API-compatible with an Amazon S3 or Azure Blob Storage endpoint, and either allows anonymous access, or allows authentication with credentials that are known by the attacker, then the attacker may be able to create a cloud storage linked to this server. They may then be able to list files on the server; extract files from the server, if these files are of a type that CVAT supports reading from cloud storage (media data (such as images/videos/archives), importable annotations or datasets, task/project backups); and/or overwrite files on this server with exported annotations/datasets/backups. The exact capabilities of the attacker will depend on how the internal server is configured. Users should upgrade to CVAT 2.14.3 to receive a patch. In this release, the existing SSRF mitigation measures are applied to requests to cloud providers, with access to intranet IP addresses prohibited by default. Some workarounds are also available. One may use network security solutions such as virtual networks or firewalls to prohibit network access from the CVAT backend to unrelated servers on your internal network and/or require authentication for access to internal servers.

Weakness: CWE-918

Which versions are affected by CVE-2024-37164?

It affects 1 product.

Products include Cvat Computer Vision Annotation Tool.

How do I fix CVE-2024-37164?

No fix has been published for CVE-2024-37164 yet. Limit exposure of the affected software until one is available.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2024-37164 being exploited?

There is no known exploitation of CVE-2024-37164 in the wild and no public exploit code.

Sources

Also known as GHSA-q684-4jjh-83g6.

Is CVE-2024-37164 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free