{"answers":{"affected":"2 open source packages ship an affected version, including bundler. It affects 3 products.","exploited":"There is no known exploitation of CVE-2013-0334 in the wild and no public exploit code.","fix":"Upgrade bundler to 1.7.0 or later.","what":"CVE-2013-0334 is a medium-severity vulnerability in Fedoraproject Fedora, published on 31 Oct 2014. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2013-0334 and fix it if it is affected.\n\nWhat it is: CVE-2013-0334 is a medium-severity vulnerability in Fedoraproject Fedora, published on 31 Oct 2014. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2013-0334 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- bundler (RubyGems): affected all versions; fixed in 1.7.0\n- bundler (RubyGems): affected all versions; fixed in 1.7.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-0334/ (Markdown: https://insights.sbomify.com/CVE-2013-0334/index.md)","id":"CVE-2013-0334","markdown":"https://insights.sbomify.com/CVE-2013-0334/index.md","name":"CVE-2013-0334","record":{"aliases":["GHSA-49jx-9cmc-xjxm","RHSA-2015:2180","SUSE-SU-2015:0795-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Ruby dependency manager","requires_auth":"none","summary":"Attackers can install malicious gems by exploiting multiple source configurations in Bundler, leading to arbitrary code execution.","user_interaction":"not_required","vuln_class":"supply_chain"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"bundler","vendor":"bundler"},{"product":"fedora","vendor":"fedoraproject"},{"product":"opensuse","vendor":"opensuse"}],"cvss":{"score":5,"severity":"medium","source":"nvd","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","version":"2.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"Bundler before 1.7, when multiple top-level source lines are used, allows remote attackers to install arbitrary gems by creating a gem with the same name as another gem in a different source.","ecosystems":["Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::computenode","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation","RubyGems"],"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":"Bundler may install gems from a different source than expected","id":"CVE-2013-0334","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":"fedoraproject:fedora","products":["fedoraproject:fedora","opensuse:opensuse"],"type":"supply_chain","year":"2013"},"n_packages":18,"n_references":8,"next":{"headline":"Openstack nova: vnc proxy can connect to the wrong vm","id":"CVE-2013-0335"},"packages":[{"ecosystem":"RubyGems","fixed":["1.7.0"],"introduced":["0"],"last_affected":[],"package":"bundler","purl":null,"source":"GHSA-49jx-9cmc-xjxm"},{"ecosystem":"RubyGems","fixed":["1.7.0"],"introduced":["0"],"last_affected":[],"package":"bundler","purl":"pkg:gem/bundler","source":"GHSA-49jx-9cmc-xjxm"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.7.8-3.el7"],"introduced":["0"],"last_affected":[],"package":"rubygem-bundler","purl":"pkg:rpm/redhat/rubygem-bundler","source":"RHSA-2015:2180"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.7.8-3.el7"],"introduced":["0"],"last_affected":[],"package":"rubygem-bundler-doc","purl":"pkg:rpm/redhat/rubygem-bundler-doc","source":"RHSA-2015:2180"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:0.19.1-1.el7"],"introduced":["0"],"last_affected":[],"package":"rubygem-thor","purl":"pkg:rpm/redhat/rubygem-thor","source":"RHSA-2015:2180"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:0.19.1-1.el7"],"introduced":["0"],"last_affected":[],"package":"rubygem-thor-doc","purl":"pkg:rpm/redhat/rubygem-thor-doc","source":"RHSA-2015:2180"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.7.8-3.el7"],"introduced":["0"],"last_affected":[],"package":"rubygem-bundler","purl":"pkg:rpm/redhat/rubygem-bundler","source":"RHSA-2015:2180"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.7.8-3.el7"],"introduced":["0"],"last_affected":[],"package":"rubygem-bundler-doc","purl":"pkg:rpm/redhat/rubygem-bundler-doc","source":"RHSA-2015:2180"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:0.19.1-1.el7"],"introduced":["0"],"last_affected":[],"package":"rubygem-thor","purl":"pkg:rpm/redhat/rubygem-thor","source":"RHSA-2015:2180"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:0.19.1-1.el7"],"introduced":["0"],"last_affected":[],"package":"rubygem-thor-doc","purl":"pkg:rpm/redhat/rubygem-thor-doc","source":"RHSA-2015:2180"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.7.8-3.el7"],"introduced":["0"],"last_affected":[],"package":"rubygem-bundler","purl":"pkg:rpm/redhat/rubygem-bundler","source":"RHSA-2015:2180"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.7.8-3.el7"],"introduced":["0"],"last_affected":[],"package":"rubygem-bundler-doc","purl":"pkg:rpm/redhat/rubygem-bundler-doc","source":"RHSA-2015:2180"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:0.19.1-1.el7"],"introduced":["0"],"last_affected":[],"package":"rubygem-thor","purl":"pkg:rpm/redhat/rubygem-thor","source":"RHSA-2015:2180"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:0.19.1-1.el7"],"introduced":["0"],"last_affected":[],"package":"rubygem-thor-doc","purl":"pkg:rpm/redhat/rubygem-thor-doc","source":"RHSA-2015:2180"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.7.8-3.el7"],"introduced":["0"],"last_affected":[],"package":"rubygem-bundler","purl":"pkg:rpm/redhat/rubygem-bundler","source":"RHSA-2015:2180"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.7.8-3.el7"],"introduced":["0"],"last_affected":[],"package":"rubygem-bundler-doc","purl":"pkg:rpm/redhat/rubygem-bundler-doc","source":"RHSA-2015:2180"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:0.19.1-1.el7"],"introduced":["0"],"last_affected":[],"package":"rubygem-thor","purl":"pkg:rpm/redhat/rubygem-thor","source":"RHSA-2015:2180"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:0.19.1-1.el7"],"introduced":["0"],"last_affected":[],"package":"rubygem-thor-doc","purl":"pkg:rpm/redhat/rubygem-thor-doc","source":"RHSA-2015:2180"}],"prev":{"headline":"activesupport in Rails vulnerable to incorrect data conversion","id":"CVE-2013-0333"},"products":["n/a"],"published":"2014-10-31","related":[{"cvss_score":9.8,"headline":"Bundler allows attacker to inject arbitrary code via secondary Gem source","id":"CVE-2016-7954","kev_date_added":null,"published":"2016-12-22"},{"cvss_score":8.8,"headline":"Dependency Confusion in Bundler","id":"CVE-2020-36327","kev_date_added":null,"published":"2021-04-29"},{"cvss_score":7.8,"headline":"Insecure path handling in Bundler","id":"CVE-2019-3881","kev_date_added":null,"published":"2020-09-04"},{"cvss_score":6.7,"headline":"Local Code Execution through Argument Injection via dash leading git url parameter in Gemfile","id":"CVE-2021-43809","kev_date_added":null,"published":"2021-12-08"}],"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":"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 install malicious gems by exploiting multiple source configurations in Bundler, leading to arbitrary code execution.","url":"https://insights.sbomify.com/CVE-2013-0334/"}