7.5high
A crafted list can trigger a ArrayIndexOutOfBoundsException in Yauaa
- Severity
- 7.5high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.94% (higher than 59% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-c4pm-63cg-9j7h
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
| Product or package | Versions | Reported by |
|---|---|---|
| nielsbasjes yauaa | >= 7.0.0, < 7.9.0 | CVE List |
| nl.basjes.parse.useragent:yauaa (Maven) | from 7.0.0 before 7.9.0 | GitHub Advisory Database |
| nl.basjes.parse.useragent:yauaa-beam (Maven) | from 7.0.0 before 7.9.0 | GitHub Advisory Database |
| nl.basjes.parse.useragent:yauaa-beam-sql (Maven) | from 7.0.0 before 7.9.0 | GitHub Advisory Database |
| nl.basjes.parse.useragent:yauaa-drill (Maven) | from 7.0.0 before 7.9.0 | GitHub Advisory Database |
| nl.basjes.parse.useragent:yauaa-elasticsearch (Maven) | from 7.0.0 before 7.9.0 | GitHub Advisory Database |
| nl.basjes.parse.useragent:yauaa-elasticsearch-8 (Maven) | from 7.0.0 before 7.9.0 | GitHub Advisory Database |
| nl.basjes.parse.useragent:yauaa-flink (Maven) | from 7.0.0 before 7.9.0 | GitHub Advisory Database |
| nl.basjes.parse.useragent:yauaa-flink-table (Maven) | from 7.0.0 before 7.9.0 | GitHub Advisory Database |
| nl.basjes.parse.useragent:yauaa-hive (Maven) | from 7.0.0 before 7.9.0 | GitHub Advisory Database |
| nl.basjes.parse.useragent:yauaa-logparser (Maven) | from 7.0.0 before 7.9.0 | GitHub Advisory Database |
| nl.basjes.parse.useragent:yauaa-snowflake (Maven) | from 7.0.0 before 7.9.0 | GitHub Advisory Database |
| nl.basjes.parse.useragent:yauaa-trino (Maven) | from 7.0.0 before 7.9.0 | GitHub Advisory Database |
| yet_another_useragent_analyzer_project yet_another_useragent_analyzer | from 7.0.0 before 7.9.0 | NVD |
All scores
| GitHub_M | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 8.6high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
Impact
Applications using the Client Hints analysis feature introduced with 7.0.0 can crash because the Yauaa library throws an ArrayIndexOutOfBoundsException. Applications that do not use this feature are not affected.
Patches
Upgrade to 7.9.0
Workarounds
Catch and discard any exceptions from Yauaa.
NVD (es)
Yet Another UserAgent Analyzer (Yauaa) es una librería de Java que intenta analizar la cadena de useragent y extraer tantos atributos relevantes como sea posible. Las aplicaciones que utilizan la función de análisis Client Hints introducida con 7.0.0 pueden fallar porque la librería Yauaa genera una ArrayIndexOutOfBoundsException. Si no se detecta, la excepción provocará un bloqueo del programa. Las aplicaciones que no utilizan esta función no se ven afectadas. Se recomienda a los usuarios que actualicen a la versión 7.9.0. Los usuarios que no puedan actualizar pueden detectar y descartar cualquier ArrayIndexOutOfBoundsException lanzada por la librería Yauaa.
References
| https://github.com/nielsbasjes/yauaa/security/advisories/GHSA-c4pm-63cg-9j7h | third-party-advisory, web | |
| https://github.com/nielsbasjes/yauaa/commit/3017a866e2cff0d308f264b66fde4fa79e3beb9e | patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-23496 | advisory | |
| https://github.com/nielsbasjes/yauaa | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-23496 changed 2025-04-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-c4pm-63cg-9j7h changed 2025-01-17 | CC-BY-4.0 |
| NVD | CVE-2022-23496 changed 2026-06-17 | Public domain |