CVE-2022-23496
JSON

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 packageVersionsReported by
nielsbasjes yauaa>= 7.0.0, < 7.9.0CVE List
nl.basjes.parse.useragent:yauaa (Maven)from 7.0.0 before 7.9.0GitHub Advisory Database
nl.basjes.parse.useragent:yauaa-beam (Maven)from 7.0.0 before 7.9.0GitHub Advisory Database
nl.basjes.parse.useragent:yauaa-beam-sql (Maven)from 7.0.0 before 7.9.0GitHub Advisory Database
nl.basjes.parse.useragent:yauaa-drill (Maven)from 7.0.0 before 7.9.0GitHub Advisory Database
nl.basjes.parse.useragent:yauaa-elasticsearch (Maven)from 7.0.0 before 7.9.0GitHub Advisory Database
nl.basjes.parse.useragent:yauaa-elasticsearch-8 (Maven)from 7.0.0 before 7.9.0GitHub Advisory Database
nl.basjes.parse.useragent:yauaa-flink (Maven)from 7.0.0 before 7.9.0GitHub Advisory Database
nl.basjes.parse.useragent:yauaa-flink-table (Maven)from 7.0.0 before 7.9.0GitHub Advisory Database
nl.basjes.parse.useragent:yauaa-hive (Maven)from 7.0.0 before 7.9.0GitHub Advisory Database
nl.basjes.parse.useragent:yauaa-logparser (Maven)from 7.0.0 before 7.9.0GitHub Advisory Database
nl.basjes.parse.useragent:yauaa-snowflake (Maven)from 7.0.0 before 7.9.0GitHub Advisory Database

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub8.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-755

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

Sources

SourceRecordLicence
CVE ListCVE-2022-23496 changed 2025-04-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-c4pm-63cg-9j7h changed 2025-01-17CC-BY-4.0
NVDCVE-2022-23496 changed 2026-06-17Public domain