{"answers":{"affected":"1 open source package ship an affected version, including odoo. It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-23166 in the wild and no public exploit code.","fix":"Upgrade odoo to 15.0.1 or later.","what":"CVE-2021-23166 is a high-severity path traversal vulnerability in Odoo Odoo, published on 25 Apr 2023. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-23166 and fix it if it is affected.\n\nWhat it is: CVE-2021-23166 is a high-severity path traversal vulnerability in Odoo Odoo, published on 25 Apr 2023. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-23166 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- odoo (Bitnami): affected all versions; fixed in 15.0.1\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-2021-23166/ (Markdown: https://insights.sbomify.com/CVE-2021-23166/index.md)","id":"CVE-2021-23166","markdown":"https://insights.sbomify.com/CVE-2021-23166/index.md","name":"CVE-2021-23166","record":{"aliases":["BIT-odoo-2021-23166","DEBIAN-CVE-2021-23166","GHSA-7pm2-436m-jff6","UBUNTU-CVE-2021-23166"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Odoo ERP","requires_auth":"high_privilege","summary":"Authenticated administrators can bypass sandboxing to read and write local files on the Odoo server.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"odoo","cpe":[{"product":"odoo","vendor":"odoo"}],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N","version":"3.0"},"cwes":[{"id":"CWE-276","name":"Incorrect Default Permissions"},{"id":"CWE-267","name":"Privilege Defined With Unsafe Actions"}],"description":"A sandboxing issue in Odoo Community 15.0 and earlier and Odoo Enterprise 15.0 and earlier allows authenticated administrators to read and write local files on the server.","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":"Path traversal in Odoo Community","id":"CVE-2021-23166","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"odoo:odoo","products":["odoo:odoo"],"type":"path_traversal","year":"2021"},"n_packages":1,"n_references":2,"next":{"headline":"Weak cryptography in Command Centre","id":"CVE-2021-23167"},"packages":[{"ecosystem":"Bitnami","fixed":["15.0.1"],"introduced":["0"],"last_affected":[],"package":"odoo","purl":"pkg:bitnami/odoo","source":"BIT-odoo-2021-23166"}],"prev":{"headline":"Memory corruption in htmldoc","id":"CVE-2021-23165"},"products":["Odoo Community","Odoo Enterprise"],"published":"2023-04-25","related":[{"cvss_score":9.9,"headline":"Code injection in Odoo Community","id":"CVE-2020-29396","kev_date_added":null,"published":"2020-12-22"},{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2018-14885","kev_date_added":null,"published":"2019-06-28"},{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2017-10804","kev_date_added":null,"published":"2017-07-04"},{"cvss_score":9.1,"headline":"Code injection in n/a","id":"CVE-2018-14860","kev_date_added":null,"published":"2019-07-03"},{"cvss_score":8.8,"headline":"Auth bypass in n/a","id":"CVE-2017-10805","kev_date_added":null,"published":"2017-07-04"},{"cvss_score":8.7,"headline":"Missing authorization in Odoo Community","id":"CVE-2021-23186","kev_date_added":null,"published":"2023-04-25"}],"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":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-02-03","vendors":["Odoo"]},"summary":"Authenticated administrators can bypass sandboxing to read and write local files on the Odoo server.","url":"https://insights.sbomify.com/CVE-2021-23166/"}