Archive Extraction Path Traversal with TOCTOU in Automotive Linux Widget Installation
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | n/a | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Automotivelinux | App-framework-main |
|
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.711% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Linuxfoundation
Linuxfoundation automotive Grade Linux |
|
| CPEs | cpe:2.3:o:linuxfoundation:automotive_grade_linux:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Linuxfoundation
Linuxfoundation automotive Grade Linux |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Automotivelinux
Automotivelinux app-framework-main |
|
| Vendors & Products |
Automotivelinux
Automotivelinux app-framework-main |
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Archive Extraction Path Traversal with TOCTOU in Automotive Linux Widget Installation |
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-22 CWE-367 |
|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | AGL app-framework-main thru 17.1.12 contains a Zip Slip path traversal vulnerability (CWE-22) combined with a TOCTOU race condition (CWE-367) in the widget installation flow. The is_valid_filename function in wgtpkg-zip.c validates ZIP entry names but does not check for dot notation directory traversal sequences it only blocks absolute paths. The zread extraction function uses openat(workdirfd, filename, O_CREAT) which resolves dot notation values relative to the work directory, allowing files to be written anywhere on the filesystem. Critically, in function install_widget in file wgtpkg-install.c, extraction via zread occurs BEFORE signature verification via check_all_signatures. Even if signature verification fails, the error cleanup (remove_workdir) only deletes the temporary work directory files written outside via path traversal persist permanently. | |
| References |
| |
| Metrics |
cvssV3_1
|