CVE-2022-4572
UBI Reader UBIFS File output.py ubireader_extract_files path traversal
Also known as GHSA-hc37-84v3-8gmq, PYSEC-2022-43016
Mitigation
- Upgrade ubi-reader to one of 0.8.5, 0.8.2 (or later in the same release line).
Who should check
- Projects that depend on PyPI package ubi-reader (< 0.8.5)
- Anyone running unspecified UBI Reader 0.1; 0.2; 0.3; 0.4; 0.5; 0.6; 0.7; 0.8
Vulnerability facts
- Affected
- ubi-reader < 0.8.5
- Fixed in
- 0.8.5, 0.8.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.4 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: Low
- EPSS
- 0.78% chance of exploitation in 30 days (percentile 52, 2026-11-26)
- CWE
- CWE-22
- Modified
Description
A vulnerability, which was classified as problematic, has been found in UBI Reader up to 0.8.0. Affected by this issue is the function ubireader_extract_files of the file ubireader/ubifs/output.py of the component UBIFS File Handler. The manipulation leads to path traversal. The attack may be launched remotely. Upgrading to version 0.8.5 is able to address this issue. The name of the patch is d5d68e6b1b9f7070c29df5f67fc060f579ae9139. It is recommended to upgrade the affected component. VDB-216146 is the identifier assigned to this vulnerability.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PyPI ubi-reader | < 0.8.5 | 0.8.5, 0.8.2 | osv |
| unspecified UBI Reader | 0.1; 0.2; 0.3; 0.4; 0.5; 0.6; 0.7; 0.8 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-4572. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-4572.md Affected: ubi-reader < 0.8.5 Fixed in: 0.8.5, 0.8.2 Steps: 1. Search this machine and project for ubi-reader (PyPI), unspecified UBI Reader: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2022-4572 being exploited?
There is no confirmed exploitation: CVE-2022-4572 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.78% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-4572?
Medium: CVSS 5.4 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2022-4572?
ubi-reader < 0.8.5.
Is there a fix for CVE-2022-4572?
Yes. Fixed in 0.8.5, 0.8.2. Upgrade ubi-reader to one of 0.8.5, 0.8.2 (or later in the same release line).
How do I check if I'm affected by CVE-2022-4572?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.