CVE-2022-23496
HIGHA crafted list can trigger a ArrayIndexOutOfBoundsException in Yauaa
EPSS Exploitation Probability
EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.
Blast Radius
nl.basjes.parse.useragent:yauaa☕nl.basjes.parse.useragent:yauaa-beam☕nl.basjes.parse.useragent:yauaa-beam-sql☕nl.basjes.parse.useragent:yauaa-drill☕nl.basjes.parse.useragent:yauaa-elasticsearch☕nl.basjes.parse.useragent:yauaa-elasticsearch-8☕nl.basjes.parse.useragent:yauaa-flink☕nl.basjes.parse.useragent:yauaa-flink-table+4 moreReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Yet Another UserAgent Analyzer (Yauaa) is a java library that tries to parse and analyze the useragent string and extract as many relevant attributes as possible. Applications using the Client Hints analysis feature introduced with 7.0.0 can crash because the Yauaa library throws an ArrayIndexOutOfBoundsException. If uncaught the exception will result in a program crash. Applications that do not use this feature are not affected. Users are advised to upgrade to version 7.9.0. Users unable to upgrade may catch and discard any ArrayIndexOutOfBoundsException thrown by the Yauaa library.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | nl.basjes.parse.useragent:yauaa | ≥ 7.0.0&&< 7.9.0 | 7.9.0 |
| ☕Maven | nl.basjes.parse.useragent:yauaa-beam | ≥ 7.0.0&&< 7.9.0 | 7.9.0 |
| ☕Maven | nl.basjes.parse.useragent:yauaa-beam-sql | ≥ 7.0.0&&< 7.9.0 | 7.9.0 |
| ☕Maven | nl.basjes.parse.useragent:yauaa-drill | ≥ 7.0.0&&< 7.9.0 | 7.9.0 |
| ☕Maven | nl.basjes.parse.useragent:yauaa-elasticsearch | ≥ 7.0.0&&< 7.9.0 | 7.9.0 |
| ☕Maven | nl.basjes.parse.useragent:yauaa-elasticsearch-8 | ≥ 7.0.0&&< 7.9.0 | 7.9.0 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for nl.basjes.parse.useragent:yauaa. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.
Fix
Update nl.basjes.parse.useragent:yauaa to 7.9.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-23496 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How O3 protects you
O3 pinpoints whether CVE-2022-23496 is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.
Tailored to CVE-2022-23496. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
Frequently Asked Questions
Is CVE-2022-23496 in your dependencies?
O3 detects CVE-2022-23496 across Maven dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.