Skip to content

Yauaa vulnerable to ArrayIndexOutOfBoundsException triggered by a crafted Sec-Ch-Ua-Full-Version-List

High severity GitHub Reviewed Published Dec 8, 2022 in nielsbasjes/yauaa • Updated Jan 28, 2023

Package

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

Affected versions

>= 7.0.0, < 7.9.0

Patched versions

7.9.0
maven nl.basjes.parse.useragent:yauaa-beam (Maven)
>= 7.0.0, < 7.9.0
7.9.0
maven nl.basjes.parse.useragent:yauaa-beam-sql (Maven)
>= 7.0.0, < 7.9.0
7.9.0
maven nl.basjes.parse.useragent:yauaa-drill (Maven)
>= 7.0.0, < 7.9.0
7.9.0
maven nl.basjes.parse.useragent:yauaa-elasticsearch (Maven)
>= 7.0.0, < 7.9.0
7.9.0
maven nl.basjes.parse.useragent:yauaa-elasticsearch-8 (Maven)
>= 7.0.0, < 7.9.0
7.9.0
maven nl.basjes.parse.useragent:yauaa-flink (Maven)
>= 7.0.0, < 7.9.0
7.9.0
maven nl.basjes.parse.useragent:yauaa-flink-table (Maven)
>= 7.0.0, < 7.9.0
7.9.0
maven nl.basjes.parse.useragent:yauaa-hive (Maven)
>= 7.0.0, < 7.9.0
7.9.0
maven nl.basjes.parse.useragent:yauaa-logparser (Maven)
>= 7.0.0, < 7.9.0
7.9.0
maven nl.basjes.parse.useragent:yauaa-nifi-processors (Maven)
>= 7.0.0, < 7.9.0
7.9.0
maven nl.basjes.parse.useragent:yauaa-snowflake (Maven)
>= 7.0.0, < 7.9.0
7.9.0
maven nl.basjes.parse.useragent:yauaa-trino (Maven)
>= 7.0.0, < 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.

References

@nielsbasjes nielsbasjes published to nielsbasjes/yauaa Dec 8, 2022
Published to the GitHub Advisory Database Dec 8, 2022
Reviewed Dec 8, 2022
Published by the National Vulnerability Database Dec 8, 2022
Last updated Jan 28, 2023

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

EPSS score

0.091%
(40th percentile)

Weaknesses

CVE ID

CVE-2022-23496

GHSA ID

GHSA-c4pm-63cg-9j7h

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.