Skip to content

A crafted Sec-Ch-Ua-Full-Version-List can trigger an ArrayIndexOutOfBoundsException in Yauaa 7.0.0-7.8.0

High
nielsbasjes published GHSA-c4pm-63cg-9j7h Dec 8, 2022

Package

maven nl.basjes.parse.useragent:yauaa (Maven)

Affected versions

< 7.9.0

Patched versions

7.9.0
maven nl.basjes.parse.useragent:yauaa-beam (Maven)
< 7.9.0
7.9.0
maven nl.basjes.parse.useragent:yauaa-beam-sql (Maven)
< 7.9.0
7.9.0
maven nl.basjes.parse.useragent:yauaa-drill (Maven)
< 7.9.0
7.9.0
maven nl.basjes.parse.useragent:yauaa-elasticsearch (Maven)
< 7.9.0
7.9.0
maven nl.basjes.parse.useragent:yauaa-elasticsearch-8 (Maven)
< 7.9.0
7.9.0
maven nl.basjes.parse.useragent:yauaa-flink (Maven)
< 7.9.0
7.9.0
maven nl.basjes.parse.useragent:yauaa-flink-table (Maven)
< 7.9.0
7.9.0
maven nl.basjes.parse.useragent:yauaa-hive (Maven)
< 7.9.0
7.9.0
maven nl.basjes.parse.useragent:yauaa-logparser (Maven)
< 7.9.0
7.9.0
maven nl.basjes.parse.useragent:yauaa-nifi-processors (Maven)
< 7.9.0
7.9.0
maven nl.basjes.parse.useragent:yauaa-snowflake (Maven)
< 7.9.0
7.9.0
maven nl.basjes.parse.useragent:yauaa-trino (Maven)
< 7.9.0
7.9.0

Description

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.

Severity

High

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Changed
Confidentiality
None
Integrity
None
Availability
High

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H

CVE ID

CVE-2022-23496

Weaknesses