ZDI-26-930: (0Day) Meta fairseq LightConvLanguageModel YAML File Parsing Code Injection Remote Code Execution Vulnerability
Summary
A remote code execution vulnerability (ZDI-26-930) has been identified in Meta fairseq. This zero-day vulnerability allows remote attackers to execute arbitrary code on affected installations of Meta fairseq. User interaction is required to exploit this vulnerability, as the target must open a malicious configuration file. The vendor has communicated that the fairseq repository is no longer maintained and has been archived, meaning no official security patch will be issued.
- ZDI ID: ZDI-26-930
- 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
- Product: fairseq
Technical Details
The specific flaw exists within the parsing of configuration files (specifically LightConvLanguageModel YAML file parsing). 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 in the context of the current process.
Impact
Successful exploitation allows remote attackers to execute arbitrary code within the context of the current process, potentially compromising the host machine executing fairseq.
Mitigation
Given the unmaintained and archived status of the repository, the primary mitigation strategies include:
- Restrict interaction with the product.
- Avoid opening or processing untrusted configuration YAML files.
- Migrate to an actively supported alternative framework or library.
References
- ZDI Advisory: ZDI-26-930
Advisory ini disajikan tim ICT Cybersecurity PT Pertamina Bina Medika IHC sebagai informasi kesadaran keamanan. Verifikasi pada sumber resmi sebelum tindakan.