# GHSA-ghmj-crg5-xw2j: Improper Input Validation in yargs-parser


- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Fix available:** No
- **Published:** 15 Feb 2022

## What is GHSA-ghmj-crg5-xw2j?

GHSA-ghmj-crg5-xw2j is a vulnerability, published on 15 Feb 2022. 

### Official description

Duplicate of GHSA-p9pc-299p-vxgp

## Which versions are affected by GHSA-ghmj-crg5-xw2j?


## How do I fix GHSA-ghmj-crg5-xw2j?

No fix has been published for GHSA-ghmj-crg5-xw2j yet. Limit exposure of the affected software until one is available.

## Is GHSA-ghmj-crg5-xw2j being exploited?

There is no known exploitation of GHSA-ghmj-crg5-xw2j in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for GHSA-ghmj-crg5-xw2j and fix it if it is affected.

What it is: GHSA-ghmj-crg5-xw2j is a vulnerability, published on 15 Feb 2022. 
Exploitation: There is no known exploitation of GHSA-ghmj-crg5-xw2j in the wild and no public exploit code.

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-ghmj-crg5-xw2j/ (Markdown: https://insights.sbomify.com/GHSA-ghmj-crg5-xw2j/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/GHSA-ghmj-crg5-xw2j

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