CVE-2022-23496
Yauaa vulnerable to ArrayIndexOutOfBoundsException triggered by a crafted Sec-Ch-Ua-Full-Version-List
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.
Affected Maven artifacts (12)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| nl.basjes.parse.useragent » yauaa | >= 7.0.0, < 7.9.0 | 7.9.0 |
| nl.basjes.parse.useragent » yauaa-beam | >= 7.0.0, < 7.9.0 | 7.9.0 |
| nl.basjes.parse.useragent » yauaa-beam-sql | >= 7.0.0, < 7.9.0 | 7.9.0 |
| nl.basjes.parse.useragent » yauaa-drill | >= 7.0.0, < 7.9.0 | 7.9.0 |
| nl.basjes.parse.useragent » yauaa-elasticsearch | >= 7.0.0, < 7.9.0 | 7.9.0 |
| nl.basjes.parse.useragent » yauaa-elasticsearch-8 | >= 7.0.0, < 7.9.0 | 7.9.0 |
| nl.basjes.parse.useragent » yauaa-flink | >= 7.0.0, < 7.9.0 | 7.9.0 |
| nl.basjes.parse.useragent » yauaa-flink-table | >= 7.0.0, < 7.9.0 | 7.9.0 |
| nl.basjes.parse.useragent » yauaa-hive | >= 7.0.0, < 7.9.0 | 7.9.0 |
| nl.basjes.parse.useragent » yauaa-logparser | >= 7.0.0, < 7.9.0 | 7.9.0 |
| nl.basjes.parse.useragent » yauaa-snowflake | >= 7.0.0, < 7.9.0 | 7.9.0 |
| nl.basjes.parse.useragent » yauaa-trino | >= 7.0.0, < 7.9.0 | 7.9.0 |
Blast radius
14% of the dependent artifacts (8) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 134 |
| 2 hops | 55 |
| 3 hops | 41 |
| 4 hops | 14 |
Most used dependents
- org.onehippo.cms7 » hippo-cms-engine78 usages
- org.onehippo.cms7 » hippo-cms-editor-frontend42 usages
- org.onehippo.cms7 » hippo-package-cms-dependencies26 usages
- org.onehippo.cms7 » hippo-cms-perspectives22 usages
- org.onehippo.cms7 » hippo-cms-test22 usages
- com.lwohvye » unicorn-core9 usages
- org.onehippo.cms7 » hippo-cms-translation-frontend6 usages
- org.onehippo.cms7 » hippo-cms-richtext-ckeditor-frontend5 usages
- org.onehippo.cms7 » hippo-plugin-selections-addon-cms5 usages
- org.onehippo.cms7 » hippo-cms-richtext-frontend4 usages
- com.lwohvye » eladmin-common4 usages
- nl.basjes.parse.useragent » yauaa-logparser3 usages
- org.onehippo.cms7 » hippo-cms-login3 usages
- org.onehippo.cms7 » hippo-cms-workflow-frontend3 usages
- org.onehippo.cms7 » hippo-plugin-relateddocs3 usages
Computed from the dependency graph of build 20261205.0236 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2022-23496 | nvd.nist.gov |
| Package | nielsbasjes/yauaa | github.com |
| Web | nielsbasjes/yauaa advisory GHSA-c4pm-63cg-9j7h | github.com |
| Web | nielsbasjes/yauaa commit 3017a86 | github.com |
