{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-26273 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2020-26273 yet. Limit exposure of the affected software until one is available.","what":"CVE-2020-26273 is a medium-severity path traversal vulnerability in osquery, published on 16 Dec 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-26273 and fix it if it is affected.\n\nWhat it is: CVE-2020-26273 is a medium-severity path traversal vulnerability in osquery, published on 16 Dec 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-26273 in the wild and no public exploit code.\n\nAffected product: osquery. 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-2020-26273/ (Markdown: https://insights.sbomify.com/CVE-2020-26273/index.md)","id":"CVE-2020-26273","markdown":"https://insights.sbomify.com/CVE-2020-26273/index.md","name":"CVE-2020-26273","record":{"aliases":["GHSA-4g56-2482-x7q8"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"osquery monitoring framework","requires_auth":"low_privilege","summary":"Administrators can use SQLite ATTACH to read or write arbitrary SQLite databases on disk, potentially exposing or modifying data.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"osquery","vendor":"linuxfoundation"}],"cvss":{"score":5.2,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"description":"osquery is a SQL powered operating system instrumentation, monitoring, and analytics framework. In osquery before version 4.6.0, by using sqlite's ATTACH verb, someone with administrative access to osquery can cause reads and writes to arbitrary sqlite databases on disk. This _does_ allow arbitrary files to be created, but they will be sqlite databases. It does not appear to allow existing non-sqlite files to be overwritten. This has been patched in osquery 4.6.0. There are several mitigating factors and possible workarounds. In some deployments, the people with access to these interfaces may be considered administrators. In some deployments, configuration is managed by a central tool. This tool can filter for the `ATTACH` keyword. osquery can be run as non-root user. Because this also limits the desired access levels, this requires deployment specific testing and configuration.","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":"sqlite ATTACH allows some filesystem access","id":"CVE-2020-26273","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2020"},"n_packages":0,"n_references":4,"next":{"headline":"Command Injection Vulnerability in systeminformation","id":"CVE-2020-26274"},"packages":[],"prev":{"headline":"Electron vulnerable to ID collision when routing IPC messages to renderers containing OOPIFs","id":"CVE-2020-26272"},"products":["osquery"],"published":"2020-12-16","related":[{"cvss_score":9.1,"headline":"Weak cryptography in Osquery","id":"CVE-2020-1887","kev_date_added":null,"published":"2020-03-12"},{"cvss_score":8.1,"headline":"Path traversal in osquery","id":"CVE-2019-3567","kev_date_added":null,"published":"2019-06-03"},{"cvss_score":7.8,"headline":"Security feature bypass in osquery","id":"CVE-2018-6336","kev_date_added":null,"published":"2018-12-31"},{"cvss_score":5.3,"headline":"osquery susceptible to DLL search order hijacking of zlib1.dll","id":"CVE-2020-11081","kev_date_added":null,"published":"2020-07-10"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["osquery"]},"summary":"Administrators can use SQLite ATTACH to read or write arbitrary SQLite databases on disk, potentially exposing or modifying data.","url":"https://insights.sbomify.com/CVE-2020-26273/"}