GitHub Advisory Database
GHSA-c4pm-63cg-9j7h
Yauaa vulnerable to ArrayIndexOutOfBoundsException triggered by a crafted Sec-Ch-Ua-Full-Version-List
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | nl.basjes.parse.useragent:yauaa | From 7.0.0 before 7.9.0 (fixed in 7.9.0) |
| Maven | nl.basjes.parse.useragent:yauaa-beam | From 7.0.0 before 7.9.0 (fixed in 7.9.0) |
| Maven | nl.basjes.parse.useragent:yauaa-beam-sql | From 7.0.0 before 7.9.0 (fixed in 7.9.0) |
| Maven | nl.basjes.parse.useragent:yauaa-drill | From 7.0.0 before 7.9.0 (fixed in 7.9.0) |
| Maven | nl.basjes.parse.useragent:yauaa-elasticsearch | From 7.0.0 before 7.9.0 (fixed in 7.9.0) |
| Maven | nl.basjes.parse.useragent:yauaa-elasticsearch-8 | From 7.0.0 before 7.9.0 (fixed in 7.9.0) |
| Maven | nl.basjes.parse.useragent:yauaa-flink | From 7.0.0 before 7.9.0 (fixed in 7.9.0) |
| Maven | nl.basjes.parse.useragent:yauaa-flink-table | From 7.0.0 before 7.9.0 (fixed in 7.9.0) |
| Maven | nl.basjes.parse.useragent:yauaa-hive | From 7.0.0 before 7.9.0 (fixed in 7.9.0) |
| Maven | nl.basjes.parse.useragent:yauaa-logparser | From 7.0.0 before 7.9.0 (fixed in 7.9.0) |
| Maven | nl.basjes.parse.useragent:yauaa-snowflake | From 7.0.0 before 7.9.0 (fixed in 7.9.0) |
| Maven | nl.basjes.parse.useragent:yauaa-trino | From 7.0.0 before 7.9.0 (fixed in 7.9.0) |