# GHSA-fjh6-p566-wr6q: skylot jadx affected by Incorrect Behavior Order in vulnerable dependency

> Jadx is affected by a vulnerability in its bundled protobuf-java dependency, requiring an upgrade to the latest version.

- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Login needed:** Not stated
- **Attackable:** Not stated
- **Victim action needed:** Not stated
- **Fix available:** Yes
- **Published:** 21 Jul 2022

## What is GHSA-fjh6-p566-wr6q?

GHSA-fjh6-p566-wr6q is a vulnerability in io.github.skylot:jadx-core, published on 21 Jul 2022. 

### Official description

### Impact
Vulnerable library protobuf-java 3.11.4 (CVE-2021-22569)

### Patches
Dependency updated in jadx 1.4.3

### References
According to the AquaSecurity report:
![05F1C52A666E4FCC844ABD085BD55124](https://user-images.githubusercontent.com/118523/177364939-087e2144-9a8a-4594-ae90-eb2acb0a2036.png)

Also, Maven repository have links to this and other vulnerabilities from dependencies:
https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java/3.11.4

## Which versions are affected by GHSA-fjh6-p566-wr6q?

2 open source packages ship an affected version, including io.github.skylot:jadx-core.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `io.github.skylot:jadx-core` | Maven | All versions | 1.4.3 |
| `io.github.skylot:jadx-core` | Maven | All versions | 1.4.3 |

## How do I fix GHSA-fjh6-p566-wr6q?

Upgrade io.github.skylot:jadx-core to 1.4.3 or later.

## Is GHSA-fjh6-p566-wr6q being exploited?

There is no known exploitation of GHSA-fjh6-p566-wr6q in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for GHSA-fjh6-p566-wr6q and fix it if it is affected.

What it is: GHSA-fjh6-p566-wr6q is a vulnerability in io.github.skylot:jadx-core, published on 21 Jul 2022. 
Exploitation: There is no known exploitation of GHSA-fjh6-p566-wr6q in the wild and no public exploit code.

Affected packages and fixed versions:
- io.github.skylot:jadx-core (Maven): affected all versions; fixed in 1.4.3
- io.github.skylot:jadx-core (Maven): affected all versions; fixed in 1.4.3

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/GHSA-fjh6-p566-wr6q/ (Markdown: https://insights.sbomify.com/GHSA-fjh6-p566-wr6q/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/GHSA-fjh6-p566-wr6q

---
From sbomify Insights: https://insights.sbomify.com/GHSA-fjh6-p566-wr6q/
Summaries are generated and may contain mistakes; the official description above is the record.
