{"answers":{"affected":"3 open source packages ship an affected version, including pyxdg. It affects 1 product.","exploited":"There is no known exploitation of CVE-2014-1624 in the wild and no public exploit code.","fix":"Upgrade pyxdg to 0.26 or later.","what":"CVE-2014-1624 is a low-severity vulnerability in n/a, published on 28 Jan 2014. 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-2014-1624 and fix it if it is affected.\n\nWhat it is: CVE-2014-1624 is a low-severity vulnerability in n/a, published on 28 Jan 2014. 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-2014-1624 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- pyxdg (PyPI): affected all versions; fixed in 0.26\n- pyxdg (PyPI): affected all versions; fixed in 0.26\n- pyxdg (PyPI): affected from 0.25; fixed in 0.26\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-2014-1624/ (Markdown: https://insights.sbomify.com/CVE-2014-1624/index.md)","id":"CVE-2014-1624","markdown":"https://insights.sbomify.com/CVE-2014-1624/index.md","name":"CVE-2014-1624","record":{"aliases":["DEBIAN-CVE-2014-1624","GHSA-7372-q459-jxhr","PYSEC-2014-95","SUSE-SU-2019:2719-1","SUSE-SU-2019:2719-2","UBUNTU-CVE-2014-1624"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Python XDG library","requires_auth":"none","summary":"Local attackers can overwrite arbitrary files via a race condition in the runtime directory handling of the python-xdg library.","user_interaction":"not_required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"pyxdg","vendor":"python"}],"cvss":{"score":3.3,"severity":"low","source":"nvd","vector":"AV:L/AC:M/Au:N/C:N/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"description":"Race condition in the xdg.BaseDirectory.get_runtime_dir function in python-xdg 0.25 allows local users to overwrite arbitrary files by pre-creating /tmp/pyxdg-runtime-dir-fallback-victim to point to a victim-owned location, then replacing it with a symlink to an attacker-controlled location once the get_runtime_dir function is called.","ecosystems":["PyPI","SUSE:Linux Enterprise Desktop 12 SP4","SUSE:Linux Enterprise Server 12 SP4","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP5"],"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":"pyxdg Arbitrary File Overwrite via Race Condition","id":"CVE-2014-1624","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"race_condition","year":"2014"},"n_packages":8,"n_references":5,"next":{"headline":"XML external entity in n/a","id":"CVE-2014-1626"},"packages":[{"ecosystem":"PyPI","fixed":["0.26"],"introduced":["0"],"last_affected":[],"package":"pyxdg","purl":null,"source":"GHSA-7372-q459-jxhr"},{"ecosystem":"PyPI","fixed":["0.26"],"introduced":["0"],"last_affected":[],"package":"pyxdg","purl":"pkg:pypi/pyxdg","source":"GHSA-7372-q459-jxhr"},{"ecosystem":"PyPI","fixed":["0.26"],"introduced":["0.25"],"last_affected":[],"package":"pyxdg","purl":"pkg:pypi/pyxdg","source":"PYSEC-2014-95"},{"ecosystem":"SUSE:Linux Enterprise Desktop 12 SP4","fixed":["0.25-9.3.1"],"introduced":["0"],"last_affected":[],"package":"python-xdg","purl":"pkg:rpm/suse/python-xdg\u0026distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP4","source":"SUSE-SU-2019:2719-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP4","fixed":["0.25-9.3.1"],"introduced":["0"],"last_affected":[],"package":"python-xdg","purl":"pkg:rpm/suse/python-xdg\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4","source":"SUSE-SU-2019:2719-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["0.25-9.3.1"],"introduced":["0"],"last_affected":[],"package":"python-xdg","purl":"pkg:rpm/suse/python-xdg\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2019:2719-2"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP4","fixed":["0.25-9.3.1"],"introduced":["0"],"last_affected":[],"package":"python-xdg","purl":"pkg:rpm/suse/python-xdg\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4","source":"SUSE-SU-2019:2719-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["0.25-9.3.1"],"introduced":["0"],"last_affected":[],"package":"python-xdg","purl":"pkg:rpm/suse/python-xdg\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2019:2719-2"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2014-1620"},"products":["n/a"],"published":"2014-01-28","related":[{"cvss_score":7.5,"headline":"Code Injection in PyXDG","id":"CVE-2019-12761","kev_date_added":null,"published":"2019-06-06"}],"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":"SUSE","prefix":"SUSE"},{"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-06","vendors":["n/a"]},"summary":"Local attackers can overwrite arbitrary files via a race condition in the runtime directory handling of the python-xdg library.","url":"https://insights.sbomify.com/CVE-2014-1624/"}