# CVE-2022-4572: UBI Reader UBIFS File output.py ubireader\_extract\_files path traversal

- Priority: **Routine**
- Reason: Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-12-17 · Modified: 2025-04-15
- Aliases: GHSA-hc37-84v3-8gmq, PYSEC-2022-43016
- Record: https://cvemate.com/vulnerability/CVE-2022-4572 · JSON: https://cvemate.com/vulnerability/CVE-2022-4572/json

## Description

```text
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.
```

## Signals

- CVSS: 7.1 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
- EPSS: 0.588%, percentile 49.571%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- PyPI ubi-reader (PyPI): \< 0.8.5 \| \< d5d68e6b1b9f7070c29df5f67fc060f579ae9139 \| \< 0.8.2
- ubi\_reader\_project ubi\_reader: ≤ 0.8.0
- unspecified ubi reader: 0.1 \| 0.2 \| 0.3 \| 0.4 \| 0.5 \| 0.6 \| 0.7 \| 0.8

## References

- <https://github.com/jrspruitt/ubi_reader/pull/57>
- <https://github.com/jrspruitt/ubi_reader/releases/tag/v0.8.5-master>
- <https://github.com/jrspruitt/ubi_reader/commit/d5d68e6b1b9f7070c29df5f67fc060f579ae9139>
- <https://vuldb.com/?id.216146>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-4572>
- <https://github.com/jrspruitt/ubi_reader>
- <https://github.com/pypa/advisory-database/tree/main/vulns/ubi-reader/PYSEC-2022-43016.yaml>
- <https://github.com/advisories/GHSA-hc37-84v3-8gmq>

---

Data as of 2026-12-05T10:10:07.921Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
