{"answers":{"affected":"4 open source packages ship an affected version, including instack-undercloud and instack. It affects 1 product.","exploited":"There is no known exploitation of CVE-2017-7549 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2017-7549 is a medium-severity path traversal vulnerability in Red Hat, Inc. instack-undercloud, published on 21 Sep 2017. 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-2017-7549 and fix it if it is affected.\n\nWhat it is: CVE-2017-7549 is a medium-severity path traversal vulnerability in Red Hat, Inc. instack-undercloud, published on 21 Sep 2017. 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-2017-7549 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- instack-undercloud (PyPI): affected all versions up to 7.2.0; no fix listed\n- instack-undercloud (PyPI): affected all versions up to 7.2.0; no fix listed\n- instack-undercloud (PyPI): affected all versions up to 7.2.0; no fix listed\n- instack (PyPI): affected all versions up to 7.2.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-2017-7549/ (Markdown: https://insights.sbomify.com/CVE-2017-7549/index.md)","id":"CVE-2017-7549","markdown":"https://insights.sbomify.com/CVE-2017-7549/index.md","name":"CVE-2017-7549","record":{"aliases":["GHSA-53wm-97p6-582f","PYSEC-2017-152","PYSEC-2026-645","RHSA-2017:2557","RHSA-2017:2649","RHSA-2017:2687","RHSA-2017:2693","RHSA-2017:2726"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"OpenStack deployment tool","requires_auth":"low_privilege","summary":"A local attacker can exploit insecure temporary files in instack-undercloud scripts to overwrite arbitrary files via symbolic link attacks.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"instack-undercloud","vendor":"openstack"}],"cvss":{"score":6.4,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N","version":"3.0"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"},{"id":"CWE-377","name":"DEPRECATED: Insecure Temporary File"}],"description":"A flaw was found in instack-undercloud 7.2.0 as packaged in Red Hat OpenStack Platform Pike, 6.1.0 as packaged in Red Hat OpenStack Platform Oacta, 5.3.0 as packaged in Red Hat OpenStack Newton, where pre-install and security policy scripts used insecure temporary files. A local user could exploit this flaw to conduct a symbolic-link attack, allowing them to overwrite the contents of arbitrary files.","ecosystems":["PyPI","Red Hat:openstack-director:7::el7","Red Hat:openstack-director:8::el7","Red Hat:openstack-director:9::el7","Red Hat:openstack:10::el7","Red Hat:openstack:11::el7"],"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":"instack-undercloud vulnerable to symlink attack on tmp files","id":"CVE-2017-7549","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"path_traversal","year":"2017"},"n_packages":9,"n_references":7,"next":{"headline":"Ansible Insertion of Sensitive Information into Log File vulnerability","id":"CVE-2017-7550"},"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["7.2.0","6.1.0","5.3.0"],"package":"instack","purl":"pkg:pypi/instack","source":"PYSEC-2017-152"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["7.2.0"],"package":"instack-undercloud","purl":null,"source":"GHSA-53wm-97p6-582f"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["7.2.0"],"package":"instack-undercloud","purl":"pkg:pypi/instack-undercloud","source":"GHSA-53wm-97p6-582f"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["7.2.0"],"package":"instack-undercloud","purl":"pkg:pypi/instack-undercloud","source":"PYSEC-2026-645"},{"ecosystem":"Red Hat:openstack-director:7::el7","fixed":["0:2.1.2-41.el7ost"],"introduced":["0"],"last_affected":[],"package":"instack-undercloud","purl":"pkg:rpm/redhat/instack-undercloud","source":"RHSA-2017:2693"},{"ecosystem":"Red Hat:openstack-director:8::el7","fixed":["0:2.2.7-10.el7ost"],"introduced":["0"],"last_affected":[],"package":"instack-undercloud","purl":"pkg:rpm/redhat/instack-undercloud","source":"RHSA-2017:2687"},{"ecosystem":"Red Hat:openstack-director:9::el7","fixed":["0:4.0.0-17.el7ost"],"introduced":["0"],"last_affected":[],"package":"instack-undercloud","purl":"pkg:rpm/redhat/instack-undercloud","source":"RHSA-2017:2557"},{"ecosystem":"Red Hat:openstack:10::el7","fixed":["0:5.3.0-3.el7ost"],"introduced":["0"],"last_affected":[],"package":"instack-undercloud","purl":"pkg:rpm/redhat/instack-undercloud","source":"RHSA-2017:2649"},{"ecosystem":"Red Hat:openstack:11::el7","fixed":["0:6.1.0-3.el7ost"],"introduced":["0"],"last_affected":[],"package":"instack-undercloud","purl":"pkg:rpm/redhat/instack-undercloud","source":"RHSA-2017:2726"}],"prev":{"headline":"Missing authorization in postgresql","id":"CVE-2017-7548"},"products":["instack-undercloud"],"published":"2017-09-21","related":[],"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":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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-05","vendors":["Red Hat, Inc."]},"summary":"A local attacker can exploit insecure temporary files in instack-undercloud scripts to overwrite arbitrary files via symbolic link attacks.","url":"https://insights.sbomify.com/CVE-2017-7549/"}