{"answers":{"affected":"3 open source packages ship an affected version, including swift. It affects 4 products.","exploited":"There is no known exploitation of CVE-2013-2161 in the wild and no public exploit code.","fix":"Upgrade swift to 1.9.0 or later.","what":"CVE-2013-2161 is a high-severity code injection vulnerability in Opensuse Opensuse, published on 20 Aug 2013. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2013-2161 and fix it if it is affected.\n\nWhat it is: CVE-2013-2161 is a high-severity code injection vulnerability in Opensuse Opensuse, published on 20 Aug 2013. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2013-2161 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- swift (PyPI): affected all versions; fixed in 1.9.0\n- swift (PyPI): affected all versions; fixed in 1.9.0\n- swift (PyPI): affected all versions; fixed in 1.9.0\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-2013-2161/ (Markdown: https://insights.sbomify.com/CVE-2013-2161/index.md)","id":"CVE-2013-2161","markdown":"https://insights.sbomify.com/CVE-2013-2161/index.md","name":"CVE-2013-2161","record":{"aliases":["DEBIAN-CVE-2013-2161","GHSA-9xgv-6v35-mmcj","PYSEC-2026-930","RHSA-2013:0993"],"analysis":{"component_type":"cloud_service","fix_type":"upgrade","impacts":["data_modify","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenStack Swift","requires_auth":"low_privilege","summary":"Attackers can inject XML via account names to spoof Swift responses, compromising data integrity and security in OpenStack Swift deployments.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"folsom","vendor":"openstack"},{"product":"grizzly","vendor":"openstack"},{"product":"havana","vendor":"openstack"},{"product":"opensuse","vendor":"opensuse"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"XML injection vulnerability in account/utils.py in OpenStack Swift Folsom, Grizzly, and Havana allows attackers to trigger invalid or spoofed Swift responses via an account name.","ecosystems":["PyPI","Red Hat:openstack:3::el6"],"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":"OpenStack Swift Unchecked user input in XML responses","id":"CVE-2013-2161","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":"opensuse:opensuse","products":["opensuse:opensuse"],"type":"code_injection","year":"2013"},"n_packages":9,"n_references":5,"next":{"headline":"Race condition in n/a","id":"CVE-2013-2162"},"packages":[{"ecosystem":"PyPI","fixed":["1.9.0"],"introduced":["0"],"last_affected":[],"package":"swift","purl":null,"source":"GHSA-9xgv-6v35-mmcj"},{"ecosystem":"PyPI","fixed":["1.9.0"],"introduced":["0"],"last_affected":[],"package":"swift","purl":"pkg:pypi/swift","source":"GHSA-9xgv-6v35-mmcj"},{"ecosystem":"PyPI","fixed":["1.9.0"],"introduced":["0"],"last_affected":[],"package":"swift","purl":"pkg:pypi/swift","source":"PYSEC-2026-930"},{"ecosystem":"Red Hat:openstack:3::el6","fixed":["0:1.8.0-6.el6ost"],"introduced":["0"],"last_affected":[],"package":"openstack-swift","purl":"pkg:rpm/redhat/openstack-swift","source":"RHSA-2013:0993"},{"ecosystem":"Red Hat:openstack:3::el6","fixed":["0:1.8.0-6.el6ost"],"introduced":["0"],"last_affected":[],"package":"openstack-swift-account","purl":"pkg:rpm/redhat/openstack-swift-account","source":"RHSA-2013:0993"},{"ecosystem":"Red Hat:openstack:3::el6","fixed":["0:1.8.0-6.el6ost"],"introduced":["0"],"last_affected":[],"package":"openstack-swift-container","purl":"pkg:rpm/redhat/openstack-swift-container","source":"RHSA-2013:0993"},{"ecosystem":"Red Hat:openstack:3::el6","fixed":["0:1.8.0-6.el6ost"],"introduced":["0"],"last_affected":[],"package":"openstack-swift-doc","purl":"pkg:rpm/redhat/openstack-swift-doc","source":"RHSA-2013:0993"},{"ecosystem":"Red Hat:openstack:3::el6","fixed":["0:1.8.0-6.el6ost"],"introduced":["0"],"last_affected":[],"package":"openstack-swift-object","purl":"pkg:rpm/redhat/openstack-swift-object","source":"RHSA-2013:0993"},{"ecosystem":"Red Hat:openstack:3::el6","fixed":["0:1.8.0-6.el6ost"],"introduced":["0"],"last_affected":[],"package":"openstack-swift-proxy","purl":"pkg:rpm/redhat/openstack-swift-proxy","source":"RHSA-2013:0993"}],"prev":{"headline":"Missing XML Validation in Apache CXF","id":"CVE-2013-2160"},"products":["n/a"],"published":"2013-08-20","related":[{"cvss_score":6.4,"headline":"OpenStack Compute Nova Improper Access Control","id":"CVE-2013-4497","kev_date_added":null,"published":"2013-11-05"},{"cvss_score":5,"headline":"XML External Entity (XXE) in Django","id":"CVE-2013-1665","kev_date_added":null,"published":"2013-04-03"},{"cvss_score":4.9,"headline":"Arbitrary file overwrite in OpenStack Nova","id":"CVE-2012-3447","kev_date_added":null,"published":"2012-08-20"},{"cvss_score":4.3,"headline":"OpenStack Nova Information leak in libvirt LVM-backed instances","id":"CVE-2012-5625","kev_date_added":null,"published":"2012-12-26"},{"cvss_score":4,"headline":"OpenStack Swift allows authenticated users to cause a denial of service","id":"CVE-2013-4155","kev_date_added":null,"published":"2013-08-20"},{"cvss_score":4,"headline":"OpenStack Keystone Insufficient token expiration","id":"CVE-2012-5563","kev_date_added":null,"published":"2012-12-18"}],"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-06","vendors":["n/a"]},"summary":"Attackers can inject XML via account names to spoof Swift responses, compromising data integrity and security in OpenStack Swift deployments.","url":"https://insights.sbomify.com/CVE-2013-2161/"}