Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-21799 Overview
CVE-2024-21799 is a path traversal vulnerability [CWE-22] affecting Intel(R) Extension for Transformers software before version 1.5. The flaw allows an authenticated local user to traverse directories outside the intended scope. Successful exploitation can enable privilege escalation on the host system. Intel disclosed the issue in Intel Security Advisory SA-01190 and published the CVE to NVD on November 13, 2024.
Critical Impact
An authenticated local attacker can leverage improper path handling to write or access files outside the intended directory, enabling privilege escalation on systems running Intel Extension for Transformers before version 1.5.
Affected Products
- Intel(R) Extension for Transformers software versions prior to 1.5
- Deployments integrating the Extension for Transformers into local AI/ML workflows
- Linux and Windows hosts running vulnerable Intel Extension for Transformers packages
Discovery Timeline
- 2024-11-13 - CVE CVE-2024-21799 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-21799
Vulnerability Analysis
The vulnerability resides in file-path handling within the Intel Extension for Transformers. The software fails to properly validate or canonicalize user-supplied path components before use. An authenticated local user can supply crafted path segments containing traversal sequences such as ../. This causes the software to resolve file operations outside the intended working directory.
Because the Extension for Transformers runs with the invoking user's privileges and may interact with privileged resources or shared installation directories, traversal can lead to writing or overwriting files the attacker should not control. The result is a potential path from a lower-privileged local account to higher-privileged code execution.
Root Cause
The root cause is improper limitation of a pathname to a restricted directory, classified under [CWE-22]. The code accepts path inputs without enforcing a canonical base directory boundary. Normalization and allowlist checks are either missing or insufficient against relative traversal sequences.
Attack Vector
Exploitation requires local access and valid authentication on the target host. The attacker interacts with a vulnerable code path that accepts file or directory parameters. By embedding traversal sequences, the attacker steers file operations toward sensitive locations. No user interaction beyond the attacker is required. Refer to the Intel Security Advisory SA-01190 for the vendor's technical description.
// No verified public proof-of-concept is available for CVE-2024-21799.
// See Intel Security Advisory SA-01190 for vendor-supplied technical details.
Detection Methods for CVE-2024-21799
Indicators of Compromise
- Unexpected files written outside the Intel Extension for Transformers working directory or model cache paths
- Process arguments or configuration inputs containing ../ or encoded traversal sequences (..%2f, ..\)
- Modification timestamps on system binaries or configuration files coinciding with Transformers process execution
- New or altered files in directories writable only by privileged accounts after local user activity
Detection Strategies
- Audit filesystem activity of processes spawned by the Intel Extension for Transformers for writes outside expected paths
- Deploy file integrity monitoring on installation directories and shared model/cache locations
- Review application and interpreter logs for file-path parameters containing traversal patterns
- Correlate local authentication events with subsequent anomalous file operations by Python or Intel runtime processes
Monitoring Recommendations
- Enable OS-level process and file auditing (auditd on Linux, Sysmon on Windows) for Transformers runtime paths
- Alert on writes to privileged directories originating from user-context Python processes
- Track installed package versions of intel-extension-for-transformers across managed hosts to identify versions below 1.5
- Monitor privilege escalation primitives such as SUID file changes or scheduled task creation following Transformers execution
How to Mitigate CVE-2024-21799
Immediate Actions Required
- Upgrade Intel Extension for Transformers to version 1.5 or later on all affected hosts
- Inventory systems with vulnerable installations using package managers such as pip show intel-extension-for-transformers
- Restrict local login and interactive access on hosts running the Extension for Transformers to trusted users only
- Review recent file modifications in privileged directories on systems where the vulnerable version was installed
Patch Information
Intel addressed the vulnerability in Intel Extension for Transformers version 1.5. Users should upgrade immediately per Intel Security Advisory SA-01190. No vendor-supplied workaround is listed; upgrading is the recommended remediation path.
Workarounds
- Remove or disable the Intel Extension for Transformers package on hosts where it is not actively required
- Apply least-privilege controls so the runtime user cannot write to sensitive system directories
- Enforce mandatory access controls (SELinux, AppArmor) to confine file operations by the Transformers runtime
- Run inference workloads inside isolated containers with read-only mounts for sensitive host paths
# Upgrade the vulnerable package to a fixed version
pip install --upgrade "intel-extension-for-transformers>=1.5"
# Verify the installed version
pip show intel-extension-for-transformers | grep -i version
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

