{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-31122 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-31122 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-31122 is a critical authentication bypass vulnerability in wireapp wire-server, published on 18 Oct 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-31122 and fix it if it is affected.\n\nWhat it is: CVE-2022-31122 is a critical authentication bypass vulnerability in wireapp wire-server, published on 18 Oct 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-31122 in the wild and no public exploit code.\n\nAffected product: wireapp wire-server. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-31122/ (Markdown: https://insights.sbomify.com/CVE-2022-31122/index.md)","id":"CVE-2022-31122","markdown":"https://insights.sbomify.com/CVE-2022-31122/index.md","name":"CVE-2022-31122","record":{"aliases":["GHSA-gq27-gmgq-fmxw"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["account_takeover","data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"Wire server","requires_auth":"none","summary":"Attackers with SAML metadata can impersonate users, delete accounts, or create malicious accounts in Wire server deployments with SAML enabled.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"wire_server","vendor":"wire"}],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"},{"id":"CWE-1270","name":"Generation of Incorrect Security Tokens"}],"description":"Wire is an encrypted communication and collaboration platform. Versions prior to 2022-07-12/Chart 4.19.0 are subject to Token Recipient Confusion. If an attacker has certain details of SAML IdP metadata, and configures their own SAML on the same backend, the attacker can delete all SAML authenticated accounts of a targeted team, Authenticate as a user of the attacked team and create arbitrary accounts in the context of the team if it is not managed by SCIM. This issue is fixed in wire-server 2022-07-12 and is already deployed on all Wire managed services. On-premise instances of wire-server need to be updated to 2022-07-12/Chart 4.19.0, so that their backends are no longer affected. As a workaround, the risk of an attack can be reduced by disabling SAML configuration for teams (galley.config.settings.featureFlags.sso). Helm overrides are located in `values/wire-server/values.yaml` Note that the ability to configure SAML SSO as a team is disabled by default for on-premise installations.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Auth bypass in wire-server","id":"CVE-2022-31122","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"auth_bypass","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"Grafana plugin signature bypass vulnerability","id":"CVE-2022-31123"},"packages":[],"prev":{"headline":"Improper Input Validation in fabric hyperledger","id":"CVE-2022-31121"},"products":["wire-server"],"published":"2022-10-18","related":[{"cvss_score":6.5,"headline":"Bulk list client endpoint exposes too much metadata about a client","id":"CVE-2021-21396","kev_date_added":null,"published":"2021-03-26"},{"cvss_score":5.7,"headline":"CORS `Access-Control-Allow-Origin` settings are too lenient","id":"CVE-2021-41101","kev_date_added":null,"published":"2021-09-30"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"total"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["wireapp"]},"summary":"Attackers with SAML metadata can impersonate users, delete accounts, or create malicious accounts in Wire server deployments with SAML enabled.","url":"https://insights.sbomify.com/CVE-2022-31122/"}