{"answers":{"affected":"1 open source package ship an affected version, including sqlite. It affects 16 products.","exploited":"There is no known exploitation of CVE-2020-15358 in the wild and no public exploit code.","fix":"Upgrade sqlite to 3.32.3 or later.","what":"CVE-2020-15358 is a medium-severity memory corruption vulnerability in Apple Icloud, published on 27 Jun 2020. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-15358 and fix it if it is affected.\n\nWhat it is: CVE-2020-15358 is a medium-severity memory corruption vulnerability in Apple Icloud, published on 27 Jun 2020. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2020-15358 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- sqlite (Bitnami): affected all versions; fixed in 3.32.3\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-2020-15358/ (Markdown: https://insights.sbomify.com/CVE-2020-15358/index.md)","id":"CVE-2020-15358","markdown":"https://insights.sbomify.com/CVE-2020-15358/index.md","name":"CVE-2020-15358","record":{"aliases":["A-192605364","ALPINE-CVE-2020-15358","ASB-A-192605364","BIT-sqlite-2020-15358","DEBIAN-CVE-2020-15358","GHSA-rq2p-jfw7-2cj3","UBUNTU-CVE-2020-15358","USN-4438-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"SQLite database library","requires_auth":"low_privilege","summary":"A heap overflow in SQLite's query-flattener optimization allows attackers to execute arbitrary code or cause denial of service via crafted SQL queries.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"icloud","vendor":"apple"},{"product":"ipados","vendor":"apple"},{"product":"iphone_os","vendor":"apple"},{"product":"macos","vendor":"apple"},{"product":"tvos","vendor":"apple"},{"product":"watchos","vendor":"apple"},{"product":"ubuntu_linux","vendor":"canonical"},{"product":"communications_cloud_native_core_policy","vendor":"oracle"},{"product":"communications_messaging_server","vendor":"oracle"},{"product":"communications_network_charging_and_control","vendor":"oracle"},{"product":"enterprise_manager_ops_center","vendor":"oracle"},{"product":"hyperion_infrastructure_technology","vendor":"oracle"},{"product":"mysql","vendor":"oracle"},{"product":"outside_in_technology","vendor":"oracle"},{"product":"sinec_infrastructure_network_services","vendor":"siemens"},{"product":"sqlite","vendor":"sqlite"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"In SQLite before 3.32.3, select.c mishandles query-flattener optimization, leading to a multiSelectOrderBy heap overflow because of misuse of transitive properties for constant propagation.","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":"Memory corruption in n/a","id":"CVE-2020-15358","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"apple:icloud","products":["apple:icloud","apple:ipados","apple:iphone_os","apple:macos","apple:tvos","apple:watchos","canonical:ubuntu_linux","oracle:communications_cloud_native_core_policy","oracle:enterprise_manager_ops_center","oracle:hyperion_infrastructure_technology","oracle:mysql","oracle:outside_in_technology","siemens:sinec_infrastructure_network_services","sqlite:sqlite"],"type":"memory_corruption","year":"2020"},"n_packages":1,"n_references":22,"next":{"headline":"Missing authorization in n/a","id":"CVE-2020-15360"},"packages":[{"ecosystem":"Bitnami","fixed":["3.32.3"],"introduced":["0"],"last_affected":[],"package":"sqlite","purl":"pkg:bitnami/sqlite","source":"BIT-sqlite-2020-15358"}],"prev":{"headline":"Command injection in n/a","id":"CVE-2020-15357"},"products":["n/a"],"published":"2020-06-27","related":[{"cvss_score":8.8,"headline":"Apple Multiple Products Type Confusion","id":"CVE-2019-8506","kev_date_added":"2022-05-04","published":"2019-12-18"},{"cvss_score":7.8,"headline":"Apple Multiple Products Type Confusion","id":"CVE-2020-27932","kev_date_added":"2021-11-03","published":"2020-12-08"},{"cvss_score":9.8,"headline":"Memory corruption in iOS","id":"CVE-2019-8746","kev_date_added":null,"published":"2020-10-27"},{"cvss_score":9.8,"headline":"Memory corruption in iOS","id":"CVE-2019-8749","kev_date_added":null,"published":"2020-10-27"},{"cvss_score":9.8,"headline":"Memory corruption in iOS","id":"CVE-2019-8756","kev_date_added":null,"published":"2020-10-27"},{"cvss_score":9.8,"headline":"Use after free in Safari","id":"CVE-2020-9895","kev_date_added":null,"published":"2020-10-16"},{"cvss_score":9.8,"headline":"Code injection in Safari","id":"CVE-2020-9850","kev_date_added":null,"published":"2020-06-09"}],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-10-14","vendors":["n/a"]},"summary":"A heap overflow in SQLite's query-flattener optimization allows attackers to execute arbitrary code or cause denial of service via crafted SQL queries.","url":"https://insights.sbomify.com/CVE-2020-15358/"}