CVE-2022-23496 is a high-severity (CVSS 7.5) CWE-755 vulnerability in nl.basjes.parse.useragent:yauaa. A fix is available for nl.basjes.parse.useragent:yauaa — see the affected versions and patch details below.
A crafted list can trigger a ArrayIndexOutOfBoundsException in Yauaa
Exploitation Status
No confirmed exploitation observed yet
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2022-23496.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
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.0nl.basjes.parse.useragent:yauaa:7.9.0 |
| ☕Maven | nl.basjes.parse.useragent:yauaa-beam | ≥ 7.0.0&&< 7.9.0 | 7.9.0nl.basjes.parse.useragent:yauaa-beam:7.9.0 |
| ☕Maven | nl.basjes.parse.useragent:yauaa-beam-sql | ≥ 7.0.0&&< 7.9.0 | 7.9.0nl.basjes.parse.useragent:yauaa-beam-sql:7.9.0 |
| ☕Maven | nl.basjes.parse.useragent:yauaa-drill | ≥ 7.0.0&&< 7.9.0 | 7.9.0nl.basjes.parse.useragent:yauaa-drill:7.9.0 |
| ☕Maven | nl.basjes.parse.useragent:yauaa-elasticsearch | ≥ 7.0.0&&< 7.9.0 | 7.9.0nl.basjes.parse.useragent:yauaa-elasticsearch:7.9.0 |
| ☕Maven | nl.basjes.parse.useragent:yauaa-elasticsearch-8 | ≥ 7.0.0&&< 7.9.0 | 7.9.0nl.basjes.parse.useragent:yauaa-elasticsearch-8:7.9.0 |
Affected Products
yet another useragent analyzeryet_another_useragent_analyzer_projectDetection & 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, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
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.
Frequently Asked Questions
Is CVE-2022-23496 in your dependencies?
Find it across Maven, including transitive dependencies.