A security issue exists in Vertex Gemini API for customers using VPC-SC.
Date: 2024-12
Affected: google/vertex_gemini_api
Attack vector: data-exfiltration
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2024-12236
CWE: CWE-755
CVSS: 5.5 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N)

A security issue exists in Vertex Gemini API for customers using VPC-SC. By utilizing a custom crafted file URI for image input, data exfiltration is possible due to requests being routed outside the VPC-SC security perimeter, circumventing the intended security restrictions of VPC-SC. No further fix actions are needed. Google Cloud Platform implemented a fix to return an error message when a media file URL is specified in the fileUri parameter and VPC Service Controls is enabled. Other use cases are unaffected.


Mitigations:

Architectural layers (MAESTRO):