{"answers":{"affected":"2 open source packages ship an affected version, including us.springett:alpine. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-23554 in the wild and no public exploit code.","fix":"Upgrade us.springett:alpine to 1.10.4 or later.","what":"CVE-2022-23554 is a medium-severity authentication bypass vulnerability in stevespringett alpine, published on 28 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-23554 and fix it if it is affected.\n\nWhat it is: CVE-2022-23554 is a medium-severity authentication bypass vulnerability in stevespringett alpine, published on 28 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-23554 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- us.springett:alpine (Maven): affected all versions; fixed in 1.10.4\n- us.springett:alpine (Maven): affected all versions; fixed in 1.10.4\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-23554/ (Markdown: https://insights.sbomify.com/CVE-2022-23554/index.md)","id":"CVE-2022-23554","markdown":"https://insights.sbomify.com/CVE-2022-23554/index.md","name":"CVE-2022-23554","record":{"aliases":["GHSA-whr2-9x5f-5c79"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Java scaffolding library","requires_auth":"none","summary":"Attackers can bypass authentication filters in the Alpine Java library by manipulating request URIs, potentially accessing protected endpoints without valid credentials.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"alpine","vendor":"alpine_project"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-697","name":"Incorrect Comparison"},{"id":"CWE-287","name":"Improper Authentication"}],"description":"Alpine is a scaffolding library in Java. Alpine prior to version 1.10.4 allows Authentication Filter bypass. The AuthenticationFilter relies on the request URI to evaluate if the user is accessing the swagger endpoint. By accessing a URL with a path such as /api/foo;%2fapi%2fswagger the contains condition will hold and will return from the authentication filter without aborting the request. Note that the principal object will not be assigned and therefore the issue wont allow user impersonation. This issue has been fixed in version 1.10.4. There are no known workarounds.","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":"Authentication bypass in Alpine","id":"CVE-2022-23554","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"auth_bypass","year":"2022"},"n_packages":2,"n_references":3,"next":{"headline":"authentik vulnerable to Improper Authentication via invitation URL token reuse","id":"CVE-2022-23555"},"packages":[{"ecosystem":"Maven","fixed":["1.10.4"],"introduced":["0"],"last_affected":[],"package":"us.springett:alpine","purl":null,"source":"GHSA-whr2-9x5f-5c79"},{"ecosystem":"Maven","fixed":["1.10.4"],"introduced":["0"],"last_affected":[],"package":"us.springett:alpine","purl":"pkg:maven/us.springett/alpine","source":"GHSA-whr2-9x5f-5c79"}],"prev":{"headline":"URL access filters bypass in Alpine","id":"CVE-2022-23553"},"products":["alpine"],"published":"2022-12-28","related":[{"cvss_score":7.5,"headline":"URL access filters bypass in Alpine","id":"CVE-2022-23553","kev_date_added":null,"published":"2022-12-28"},{"cvss_score":7.5,"headline":"Security feature bypass in n/a","id":"CVE-2020-14929","kev_date_added":null,"published":"2020-06-19"},{"cvss_score":5.9,"headline":"Race condition in n/a","id":"CVE-2021-46853","kev_date_added":null,"published":"2022-11-03"},{"cvss_score":5.9,"headline":"Security feature bypass in n/a","id":"CVE-2021-38370","kev_date_added":null,"published":"2021-08-10"}],"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-10","vendors":["stevespringett"]},"summary":"Attackers can bypass authentication filters in the Alpine Java library by manipulating request URIs, potentially accessing protected endpoints without valid credentials.","url":"https://insights.sbomify.com/CVE-2022-23554/"}