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

Advisory record · `GHSA-hc37-84v3-8gmq`

- **Identifiers:** `GHSA-hc37-84v3-8gmq` · `CVE-2022-4572` · `PYSEC-2022-43016`
- **State:** Confirmed
- **Severity:** CVSS 5.4 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-22](https://cwe.mitre.org/data/definitions/22.html)
- **Tags:** [Path traversal](https://agentprime.io/advisories/tag/path-traversal.md)
- **Published:** 17 Dec 2022
- **Updated:** 10 Jun 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 17 Dec 2022, 02:15 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `ubi-reader` (PyPI): affected `<d5d68e6b1b9f7070c29df5f67fc060f579ae9139 || <0.8.2`; fixed in `d5d68e6b1b9f7070c29df5f67fc060f579ae9139`, `0.8.2`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> ubi-reader versions before 0.8.2 contain a path traversal vulnerability in the ubireader_extract_files function, which handles extraction of UBIFS files. The source says the attack may be launched remotely, but it gives few details about the impact. Upgrade ubi-reader to version 0.8.2 or later.

Written 10 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.4 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L`, from CNA (VulDB)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0058, the 48th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 17 Dec 2022. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-hc37-84v3-8gmq](https://github.com/advisories/GHSA-hc37-84v3-8gmq)
- [OSV: GHSA-hc37-84v3-8gmq](https://osv.dev/vulnerability/GHSA-hc37-84v3-8gmq)
- <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://github.com/jrspruitt/ubi_reader/pull/57>
- <https://github.com/jrspruitt/ubi_reader/pull/57>
- <https://github.com/advisories/GHSA-hc37-84v3-8gmq>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-hc37-84v3-8gmq>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-hc37-84v3-8gmq/>. Everything for agents: <https://agentprime.io/llms.txt>.
