{"answers":{"affected":"1 open source package ship an affected version, including mysql-shell. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-21555 in the wild and no public exploit code.","fix":"Upgrade mysql-shell to 1.1.9 or later.","what":"CVE-2022-21555 is a medium-severity missing authorization vulnerability in Oracle Corporation MySQL Server, published on 19 Jul 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-21555 and fix it if it is affected.\n\nWhat it is: CVE-2022-21555 is a medium-severity missing authorization vulnerability in Oracle Corporation MySQL Server, published on 19 Jul 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2022-21555 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- mysql-shell (Bitnami): affected all versions; fixed in 1.1.9\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-21555/ (Markdown: https://insights.sbomify.com/CVE-2022-21555/index.md)","id":"CVE-2022-21555","markdown":"https://insights.sbomify.com/CVE-2022-21555/index.md","name":"CVE-2022-21555","record":{"aliases":["BIT-mysql-shell-2022-21555","GHSA-jwmx-w668-p6cw"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"MySQL Shell VS Code","requires_auth":"high_privilege","summary":"High-privileged local attackers can modify or read MySQL Shell data via GUI flaws, requiring user interaction and affecting VS Code extensions.","user_interaction":"required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"oracle","cpe":[{"product":"mysql_shell","vendor":"oracle"}],"cvss":{"score":4.2,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[],"description":"Vulnerability in the MySQL Shell for VS Code product of Oracle MySQL (component: Shell: GUI). Supported versions that are affected are 1.1.8 and prior. Easily exploitable vulnerability allows high privileged attacker with logon to the infrastructure where MySQL Shell for VS Code executes to compromise MySQL Shell for VS Code. Successful attacks require human interaction from a person other than the attacker and while the vulnerability is in MySQL Shell for VS Code, attacks may significantly impact additional products (scope change). Successful attacks of this vulnerability can result in unauthorized update, insert or delete access to some of MySQL Shell for VS Code accessible data as well as unauthorized read access to a subset of MySQL Shell for VS Code accessible data. CVSS 3.1 Base Score 4.2 (Confidentiality and Integrity impacts). CVSS Vector: (CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N).","ecosystems":["Bitnami"],"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":"Missing authorization in MySQL Server","id":"CVE-2022-21555","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"missing_authorization","year":"2022"},"n_packages":1,"n_references":1,"next":{"headline":"Denial of service in MySQL Server","id":"CVE-2022-21556"},"packages":[{"ecosystem":"Bitnami","fixed":["1.1.9"],"introduced":["0"],"last_affected":[],"package":"mysql-shell","purl":"pkg:bitnami/mysql-shell","source":"BIT-mysql-shell-2022-21555"}],"prev":{"headline":"Denial of service in VM VirtualBox","id":"CVE-2022-21554"},"products":["MySQL Server"],"published":"2022-07-19","related":[{"cvss_score":9.9,"headline":"Code injection in MySQL Shell","id":"CVE-2026-46850","kev_date_added":null,"published":"2026-06-16"},{"cvss_score":8.5,"headline":"Auth bypass in MySQL Shell","id":"CVE-2026-46870","kev_date_added":null,"published":"2026-06-16"},{"cvss_score":6.5,"headline":"Cross-site request forgery in MySQL Shell","id":"CVE-2026-46869","kev_date_added":null,"published":"2026-06-16"},{"cvss_score":6.5,"headline":"Missing authorization in MySQL Shell","id":"CVE-2026-46871","kev_date_added":null,"published":"2026-06-16"},{"cvss_score":2.5,"headline":"Denial of service in MySQL Server","id":"CVE-2022-21535","kev_date_added":null,"published":"2022-07-19"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"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":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-24","vendors":["Oracle Corporation"]},"summary":"High-privileged local attackers can modify or read MySQL Shell data via GUI flaws, requiring user interaction and affecting VS Code extensions.","url":"https://insights.sbomify.com/CVE-2022-21555/"}