ZDI-26-938: (0Day) Meta fairseq parse_manifest Code Injection Remote Code Execution Vulnerability
Summary
ZDI-26-938 discloses a Zero-Day code injection vulnerability leading to Remote Code Execution (RCE) in Meta fairseq. The flaw exists within the parse_manifest method due to improper validation of user-supplied strings prior to Python code execution. The vulnerability holds a CVSS score of 7.8.
Affected Products
- Vendor: Meta
- Product: fairseq
Technical Details
- Advisory ID: ZDI-26-938
- CVE ID: - (Not assigned)
- CVSS Score: 7.8 (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
- Vulnerability Type: Code Injection / Remote Code Execution
The specific flaw resides in the parse_manifest method. The issue stems from the lack of proper validation of a user-supplied string before executing Python code. An attacker can leverage this vulnerability to execute code in the context of the current process. Exploitation requires user interaction, requiring the target to visit a malicious web page or open a crafted malicious file.
The vendor communicated that the fairseq repository is no longer maintained and has been archived.
Impact
Successful exploitation allows remote attackers to execute arbitrary code on affected installations of Meta fairseq within the context of the running process.
Mitigation
Given the nature of the vulnerability and the unmaintained/archived status of the product:
- Restrict all interaction with the product.
- Avoid processing untrusted manifest files or clicking malicious links associated with fairseq.
References
- TrendAI Zero Day Initiative Advisory ZDI-26-938
- 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.