ZDI-26-918: (0Day) Meta fairseq VGGTransformerModel YAML File Parsing Code Injection Remote Code Execution Vulnerability
Summary
The Zero Day Initiative (ZDI) has released a 0-day advisory regarding a Remote Code Execution vulnerability in Meta fairseq (ZDI-26-918). The flaw exists in the parsing of YAML configuration files within VGGTransformerModel. A remote attacker can leverage this vulnerability to execute arbitrary code by tricking a target into opening a malicious file.
- ZDI ID: ZDI-26-918
- CVE ID: -
- CVSS Score: 7.8 (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
Affected Products
- Meta fairseq
Technical Details
The specific flaw lies within the parsing of configuration files in the VGGTransformerModel component. The issue stems from the lack of proper validation of user-supplied strings prior to using them to execute Python code. An attacker can exploit this to perform code injection and execute code within the context of the current process. Exploitation requires user interaction, as the victim must open a crafted malicious configuration file.
Impact
Successful exploitation allows an attacker to execute arbitrary code in the context of the running process, leading to high impact on confidentiality, integrity, and availability.
Mitigation
Since the vendor (Meta) stated that the fairseq repository is no longer maintained and has been archived, no patch will be issued. The primary mitigation strategy is to restrict or cease interaction with the product.
References
- ZDI Advisory ZDI-26-918
Advisory ini disajikan tim ICT Cybersecurity PT Pertamina Bina Medika IHC sebagai informasi kesadaran keamanan. Verifikasi pada sumber resmi sebelum tindakan.