{"answers":{"affected":"3 open source packages ship an affected version, including tripleo-ansible. It affects 3 products.","exploited":"There is no known exploitation of CVE-2022-3146 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2022-3146 is a medium-severity vulnerability in Redhat Openstack, published on 23 Mar 2023. 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-2022-3146 and fix it if it is affected.\n\nWhat it is: CVE-2022-3146 is a medium-severity vulnerability in Redhat Openstack, published on 23 Mar 2023. 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-2022-3146 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- tripleo-ansible (PyPI): affected all versions up to 6.0.0; no fix listed\n- tripleo-ansible (PyPI): affected all versions up to 6.0.0; no fix listed\n- tripleo-ansible (PyPI): affected all versions up to 6.0.0; no fix listed\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-3146/ (Markdown: https://insights.sbomify.com/CVE-2022-3146/index.md)","id":"CVE-2022-3146","markdown":"https://insights.sbomify.com/CVE-2022-3146/index.md","name":"CVE-2022-3146","record":{"aliases":["GHSA-w4x6-6w3r-9h2m","PYSEC-2026-1052"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"OpenStack deployment tool","requires_auth":"low_privilege","summary":"A local attacker can discover sensitive configuration files due to insecure default permissions in tripleo-ansible, leading to information disclosure.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"tripleo_ansible","vendor":"openstack"},{"product":"openstack","vendor":"redhat"},{"product":"openstack_for_ibm_power","vendor":"redhat"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"},{"id":"CWE-276","name":"Incorrect Default Permissions"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"A flaw was found in tripleo-ansible. Due to an insecure default configuration, the permissions of a sensitive file are not sufficiently restricted. This flaw allows a local attacker to use brute force to explore the relevant directory and discover the file. This issue leads to information disclosure of important configuration details from the OpenStack deployment.","ecosystems":["PyPI"],"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":"tripleo-ansible may disclose important configuration details from an OpenStack deployment","id":"CVE-2022-3146","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":"redhat:openstack","products":["redhat:openstack"],"type":"information_disclosure","year":"2022"},"n_packages":3,"n_references":1,"next":{"headline":"Server-side Denial of Service while processing a specifically crafted JPEG file","id":"CVE-2022-3147"},"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["6.0.0"],"package":"tripleo-ansible","purl":null,"source":"GHSA-w4x6-6w3r-9h2m"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["6.0.0"],"package":"tripleo-ansible","purl":"pkg:pypi/tripleo-ansible","source":"GHSA-w4x6-6w3r-9h2m"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["6.0.0"],"package":"tripleo-ansible","purl":"pkg:pypi/tripleo-ansible","source":"PYSEC-2026-1052"}],"prev":{"headline":"@okta/oidc-middlewareOpen Redirect vulnerability","id":"CVE-2022-3145"},"products":["tripleo-ansible"],"published":"2023-03-23","related":[{"cvss_score":5.5,"headline":"tripleo-ansible may disclose important configuration details from an OpenStack deployment","id":"CVE-2022-3101","kev_date_added":null,"published":"2023-03-23"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"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":"partial"},"state":"PUBLISHED","updated":"2025-02-25","vendors":["n/a"]},"summary":"A local attacker can discover sensitive configuration files due to insecure default permissions in tripleo-ansible, leading to information disclosure.","url":"https://insights.sbomify.com/CVE-2022-3146/"}