ZDI-26-936: (0Day) Meta fairseq FairseqCPUAdam YAML File Parsing Code Injection Remote Code Execution Vulnerability
Summary
The Zero Day Initiative (ZDI) has released a zero-day vulnerability advisory (ZDI-26-936) regarding Meta fairseq. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Meta fairseq via malicious YAML configuration file parsing. User interaction is required for exploitation, as the target must open a crafted file.
Affected Products
- Meta fairseq (specifically components parsing YAML files such as
FairseqCPUAdam)
Technical Details
- Advisory ID: ZDI-26-936
- CVE ID: - (Not assigned)
- CVSS v3 Score: 7.8 (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
- Vulnerability Type: Code Injection / YAML File Parsing
The specific flaw exists within the parsing of configuration files. 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 code within the context of the current process.
The vendor (Meta) communicated that the fairseq repository is no longer maintained and has been archived.
Impact
Successful exploitation allows a remote attacker to execute arbitrary code in the context of the running process, causing a high impact on system confidentiality, integrity, and availability.
Mitigation
Given the nature of the vulnerability and the unmaintained status of the product, the primary mitigation strategy is:
- Restrict or discontinue interaction with the product.
- Avoid opening untrusted YAML configuration files using Meta fairseq.
References
- Zero Day Initiative Advisory ZDI-26-936
Advisory ini disajikan tim ICT Cybersecurity PT Pertamina Bina Medika IHC sebagai informasi kesadaran keamanan. Verifikasi pada sumber resmi sebelum tindakan.