ZDI-26-932: (0Day) Meta fairseq CtcCriterion YAML File Parsing Code Injection Remote Code Execution Vulnerability
Summary
A remote code execution vulnerability (0-Day) exists in Meta fairseq due to improper validation of user-supplied input during YAML configuration file parsing. This vulnerability allows remote attackers to execute arbitrary Python code in the context of the current process when a user opens a malicious file. The vendor has archived the fairseq repository and no longer maintains the product.
- Advisory ID: ZDI-26-932
- 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 exists within the parsing of YAML configuration files in Meta fairseq (specifically CtcCriterion). The issue results from the lack of proper validation of a user-supplied string before using it to execute Python code. Exploitation requires user interaction, where the target must open a specially crafted malicious configuration file.
Impact
Successful exploitation allows remote attackers to execute arbitrary code within the context of the current process, leading to high impacts on system confidentiality, integrity, and availability.
Mitigation
Given that the vendor has archived the repository and no longer maintains the product, the only salient mitigation strategy is to restrict or cease interaction with the product.
References
- TrendAI Zero Day Initiative Advisory: ZDI-26-932
- 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.