{"answers":{"affected":"24 open source packages ship an affected version, including nl.basjes.parse.useragent:yauaa, nl.basjes.parse.useragent:yauaa-beam and nl.basjes.parse.useragent:yauaa-beam-sql. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-23496 in the wild and no public exploit code.","fix":"Upgrade nl.basjes.parse.useragent:yauaa to 7.9.0 or later.","what":"CVE-2022-23496 is a high-severity denial of service vulnerability in nielsbasjes yauaa, published on 8 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-23496 and fix it if it is affected.\n\nWhat it is: CVE-2022-23496 is a high-severity denial of service vulnerability in nielsbasjes yauaa, published on 8 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-23496 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- nl.basjes.parse.useragent:yauaa (Maven): affected from 7.0.0; fixed in 7.9.0\n- nl.basjes.parse.useragent:yauaa (Maven): affected from 7.0.0; fixed in 7.9.0\n- nl.basjes.parse.useragent:yauaa-beam (Maven): affected from 7.0.0; fixed in 7.9.0\n- nl.basjes.parse.useragent:yauaa-beam (Maven): affected from 7.0.0; fixed in 7.9.0\n- nl.basjes.parse.useragent:yauaa-beam-sql (Maven): affected from 7.0.0; fixed in 7.9.0\n- nl.basjes.parse.useragent:yauaa-beam-sql (Maven): affected from 7.0.0; fixed in 7.9.0\n- nl.basjes.parse.useragent:yauaa-drill (Maven): affected from 7.0.0; fixed in 7.9.0\n- nl.basjes.parse.useragent:yauaa-drill (Maven): affected from 7.0.0; fixed in 7.9.0\n- nl.basjes.parse.useragent:yauaa-elasticsearch (Maven): affected from 7.0.0; fixed in 7.9.0\n- nl.basjes.parse.useragent:yauaa-elasticsearch (Maven): affected from 7.0.0; fixed in 7.9.0\n- nl.basjes.parse.useragent:yauaa-elasticsearch-8 (Maven): affected from 7.0.0; fixed in 7.9.0\n- nl.basjes.parse.useragent:yauaa-elasticsearch-8 (Maven): affected from 7.0.0; fixed in 7.9.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-23496/ (Markdown: https://insights.sbomify.com/CVE-2022-23496/index.md)","id":"CVE-2022-23496","markdown":"https://insights.sbomify.com/CVE-2022-23496/index.md","name":"CVE-2022-23496","record":{"aliases":["GHSA-c4pm-63cg-9j7h"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"Java UserAgent library","requires_auth":"none","summary":"A crafted list in Client Hints analysis causes an uncaught exception, crashing applications using the Yauaa Java library.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"yet_another_useragent_analyzer","vendor":"yet_another_useragent_analyzer_project"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-755","name":"Improper Handling of Exceptional Conditions"}],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"A crafted list can trigger a ArrayIndexOutOfBoundsException in Yauaa","id":"CVE-2022-23496","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2022"},"n_packages":24,"n_references":2,"next":{"headline":"Insecure file access in FreshRSS","id":"CVE-2022-23497"},"packages":[{"ecosystem":"Maven","fixed":["7.9.0"],"introduced":["7.0.0"],"last_affected":[],"package":"nl.basjes.parse.useragent:yauaa","purl":null,"source":"GHSA-c4pm-63cg-9j7h"},{"ecosystem":"Maven","fixed":["7.9.0"],"introduced":["7.0.0"],"last_affected":[],"package":"nl.basjes.parse.useragent:yauaa","purl":"pkg:maven/nl.basjes.parse.useragent/yauaa","source":"GHSA-c4pm-63cg-9j7h"},{"ecosystem":"Maven","fixed":["7.9.0"],"introduced":["7.0.0"],"last_affected":[],"package":"nl.basjes.parse.useragent:yauaa-beam","purl":null,"source":"GHSA-c4pm-63cg-9j7h"},{"ecosystem":"Maven","fixed":["7.9.0"],"introduced":["7.0.0"],"last_affected":[],"package":"nl.basjes.parse.useragent:yauaa-beam","purl":"pkg:maven/nl.basjes.parse.useragent/yauaa-beam","source":"GHSA-c4pm-63cg-9j7h"},{"ecosystem":"Maven","fixed":["7.9.0"],"introduced":["7.0.0"],"last_affected":[],"package":"nl.basjes.parse.useragent:yauaa-beam-sql","purl":null,"source":"GHSA-c4pm-63cg-9j7h"},{"ecosystem":"Maven","fixed":["7.9.0"],"introduced":["7.0.0"],"last_affected":[],"package":"nl.basjes.parse.useragent:yauaa-beam-sql","purl":"pkg:maven/nl.basjes.parse.useragent/yauaa-beam-sql","source":"GHSA-c4pm-63cg-9j7h"},{"ecosystem":"Maven","fixed":["7.9.0"],"introduced":["7.0.0"],"last_affected":[],"package":"nl.basjes.parse.useragent:yauaa-drill","purl":null,"source":"GHSA-c4pm-63cg-9j7h"},{"ecosystem":"Maven","fixed":["7.9.0"],"introduced":["7.0.0"],"last_affected":[],"package":"nl.basjes.parse.useragent:yauaa-drill","purl":"pkg:maven/nl.basjes.parse.useragent/yauaa-drill","source":"GHSA-c4pm-63cg-9j7h"},{"ecosystem":"Maven","fixed":["7.9.0"],"introduced":["7.0.0"],"last_affected":[],"package":"nl.basjes.parse.useragent:yauaa-elasticsearch","purl":null,"source":"GHSA-c4pm-63cg-9j7h"},{"ecosystem":"Maven","fixed":["7.9.0"],"introduced":["7.0.0"],"last_affected":[],"package":"nl.basjes.parse.useragent:yauaa-elasticsearch","purl":"pkg:maven/nl.basjes.parse.useragent/yauaa-elasticsearch","source":"GHSA-c4pm-63cg-9j7h"},{"ecosystem":"Maven","fixed":["7.9.0"],"introduced":["7.0.0"],"last_affected":[],"package":"nl.basjes.parse.useragent:yauaa-elasticsearch-8","purl":null,"source":"GHSA-c4pm-63cg-9j7h"},{"ecosystem":"Maven","fixed":["7.9.0"],"introduced":["7.0.0"],"last_affected":[],"package":"nl.basjes.parse.useragent:yauaa-elasticsearch-8","purl":"pkg:maven/nl.basjes.parse.useragent/yauaa-elasticsearch-8","source":"GHSA-c4pm-63cg-9j7h"},{"ecosystem":"Maven","fixed":["7.9.0"],"introduced":["7.0.0"],"last_affected":[],"package":"nl.basjes.parse.useragent:yauaa-flink","purl":null,"source":"GHSA-c4pm-63cg-9j7h"},{"ecosystem":"Maven","fixed":["7.9.0"],"introduced":["7.0.0"],"last_affected":[],"package":"nl.basjes.parse.useragent:yauaa-flink","purl":"pkg:maven/nl.basjes.parse.useragent/yauaa-flink","source":"GHSA-c4pm-63cg-9j7h"},{"ecosystem":"Maven","fixed":["7.9.0"],"introduced":["7.0.0"],"last_affected":[],"package":"nl.basjes.parse.useragent:yauaa-flink-table","purl":null,"source":"GHSA-c4pm-63cg-9j7h"},{"ecosystem":"Maven","fixed":["7.9.0"],"introduced":["7.0.0"],"last_affected":[],"package":"nl.basjes.parse.useragent:yauaa-flink-table","purl":"pkg:maven/nl.basjes.parse.useragent/yauaa-flink-table","source":"GHSA-c4pm-63cg-9j7h"},{"ecosystem":"Maven","fixed":["7.9.0"],"introduced":["7.0.0"],"last_affected":[],"package":"nl.basjes.parse.useragent:yauaa-hive","purl":null,"source":"GHSA-c4pm-63cg-9j7h"},{"ecosystem":"Maven","fixed":["7.9.0"],"introduced":["7.0.0"],"last_affected":[],"package":"nl.basjes.parse.useragent:yauaa-hive","purl":"pkg:maven/nl.basjes.parse.useragent/yauaa-hive","source":"GHSA-c4pm-63cg-9j7h"},{"ecosystem":"Maven","fixed":["7.9.0"],"introduced":["7.0.0"],"last_affected":[],"package":"nl.basjes.parse.useragent:yauaa-logparser","purl":null,"source":"GHSA-c4pm-63cg-9j7h"},{"ecosystem":"Maven","fixed":["7.9.0"],"introduced":["7.0.0"],"last_affected":[],"package":"nl.basjes.parse.useragent:yauaa-logparser","purl":"pkg:maven/nl.basjes.parse.useragent/yauaa-logparser","source":"GHSA-c4pm-63cg-9j7h"},{"ecosystem":"Maven","fixed":["7.9.0"],"introduced":["7.0.0"],"last_affected":[],"package":"nl.basjes.parse.useragent:yauaa-snowflake","purl":null,"source":"GHSA-c4pm-63cg-9j7h"},{"ecosystem":"Maven","fixed":["7.9.0"],"introduced":["7.0.0"],"last_affected":[],"package":"nl.basjes.parse.useragent:yauaa-snowflake","purl":"pkg:maven/nl.basjes.parse.useragent/yauaa-snowflake","source":"GHSA-c4pm-63cg-9j7h"},{"ecosystem":"Maven","fixed":["7.9.0"],"introduced":["7.0.0"],"last_affected":[],"package":"nl.basjes.parse.useragent:yauaa-trino","purl":null,"source":"GHSA-c4pm-63cg-9j7h"},{"ecosystem":"Maven","fixed":["7.9.0"],"introduced":["7.0.0"],"last_affected":[],"package":"nl.basjes.parse.useragent:yauaa-trino","purl":"pkg:maven/nl.basjes.parse.useragent/yauaa-trino","source":"GHSA-c4pm-63cg-9j7h"}],"prev":{"headline":"ProtoNode may be modified such that common method calls may panic in ipfs/go-merkledag","id":"CVE-2022-23495"},"products":["yauaa"],"published":"2022-12-08","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["nielsbasjes"]},"summary":"A crafted list in Client Hints analysis causes an uncaught exception, crashing applications using the Yauaa Java library.","url":"https://insights.sbomify.com/CVE-2022-23496/"}