Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. ubi-reader
  4. ›
  5. CVE-2022-4572

CVE-2022-4572: UBI Reader vulnerable to Path Traversal

December 17, 2022 (updated November 18, 2024)

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 can 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.

References

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

Code Behaviors & Features

Detect and mitigate CVE-2022-4572 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.8.5

Fixed versions

  • 0.8.5

Solution

Upgrade to version 0.8.5 or above.

Impact 7.1 HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/ubi-reader/CVE-2022-4572.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:27 +0000.