ZDI-26-934: (0Day) Meta fairseq FConvLanguageModel YAML File Parsing Code Injection Remote Code Execution Vulnerability
Summary
TrendAI Zero Day Initiative has published a 0-day advisory (ZDI-26-934) regarding a code injection vulnerability in Meta fairseq. The vulnerability allows remote attackers to execute arbitrary code if a target user opens a malicious file. Meta has communicated that the fairseq repository is archived and no longer maintained.
- CVSS Score: 7.8 (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
- CVE ID: -
Affected Products
- Vendor: Meta
- Product: fairseq
Technical Details
The specific flaw exists within the parsing of configuration files (specifically for FConvLanguageModel). 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. User interaction is required to exploit this vulnerability, as the target must open a malicious file.
Impact
Successful exploitation allows remote attackers to execute arbitrary code on affected installations of Meta fairseq within the context of the running process, causing a high impact on confidentiality, integrity, and availability.
Mitigation
Given that the fairseq repository is archived and no longer maintained by the vendor:
- Restrict or discontinue interaction with the product.
- Avoid parsing untrusted YAML configuration files using Meta fairseq.
References
- Advisory ID: ZDI-26-934
- Credit: Mat Powell of TrendAI Zero Day Initiative
Advisory ini disajikan tim ICT Cybersecurity PT Pertamina Bina Medika IHC sebagai informasi kesadaran keamanan. Verifikasi pada sumber resmi sebelum tindakan.