ZDI-26-935: (0Day) Meta fairseq FConvModelSelfAtt YAML File Parsing Code Injection Remote Code Execution Vulnerability
Summary
Zero Day Initiative (ZDI) has published a zero-day advisory (ZDI-26-935) regarding a Remote Code Execution vulnerability in Meta fairseq. The flaw lies within the parsing of YAML configuration files (FConvModelSelfAtt), allowing remote attackers to execute arbitrary code. Exploitation requires user interaction, specifically requiring the target to open a malicious file.
- ZDI ID: ZDI-26-935
- CVE ID: -
- CVSS Score: 7.8 (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
Affected Products
- Vendor: Meta
- Products: fairseq (Repository is archived and no longer maintained)
Technical Details
The specific flaw exists within the parsing of configuration files related to FConvModelSelfAtt. The issue results from the lack of proper validation of a user-supplied string before using it to execute Python code. An attacker can leverage this vulnerability to execute arbitrary code in the context of the current process.
Impact
Successful exploitation allows an attacker to execute arbitrary code on the affected installation in the context of the running process, potentially compromising the host environment.
Mitigation
Given that the fairseq repository has been archived and is no longer maintained by Meta, no vendor patches are available. Recommended mitigation strategies include:
- Restricting interaction with the product and refusing to process untrusted configuration/YAML files.
- Migrating to an actively supported alternative framework.
References
- ZDI-26-935 Advisory
Advisory ini disajikan tim ICT Cybersecurity PT Pertamina Bina Medika IHC sebagai informasi kesadaran keamanan. Verifikasi pada sumber resmi sebelum tindakan.