CVE-2022-4572 json
UBI Reader UBIFS File output.py ubireader_extract_files path traversal
published 3y ago modified 4mo ago also GHSA-hc37-84v3-8gmq , PYSEC-2022-43016 , EUVD-2022-0347
- cvss
- 5.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 48%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi ubi-reader 0.8.2, 0.8.5
Is CVE-2022-4572 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.58% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L |
| NVD | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H |
| GitHub | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | ubi-reader | <0.8.5 <0.8.2 |
0.8.5 0.8.2 |
Affected products
- unspecified UBI Reader
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/jrspruitt/ubi_reader/pull/57
web, issue-tracking, patch, third-party-advisory, report
-
github.com
/jrspruitt/ubi_reader/commit/d5d68e6b1b9f7070c29df5f67fc060f579ae9139
web, patch, third-party-advisory
-
github.com
/jrspruitt/ubi_reader/releases/tag/v0.8.5-master
web, release-notes, third-party-advisory
-
vuldb.com
/?id.216146
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-4572
advisory
-
github.com
/jrspruitt/ubi_reader
package
-
github.com
/pypa/advisory-database/tree/main/vulns/ubi-reader/PYSEC-2022-43016.yaml
web
-
github.com
/advisories/GHSA-hc37-84v3-8gmq
advisory
Sources
- CVE List CVE-2022-4572
- GitHub Advisory GHSA-hc37-84v3-8gmq
- NVD CVE-2022-4572
- OSV PYSEC-2022-43016
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.