{"answers":{"affected":"8 open source packages ship an affected version, including rubygems-update. It affects 3 products.","exploited":"There is no known exploitation of CVE-2013-4287 in the wild and no public exploit code.","fix":"Upgrade rubygems-update to a fixed version for your release line: 1.8.23.1, 1.8.26, 2.0.8 or 2.1.0.","what":"CVE-2013-4287 is a medium-severity denial of service vulnerability in Redhat Enterprise Linux, published on 17 Oct 2013. 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-4287 and fix it if it is affected.\n\nWhat it is: CVE-2013-4287 is a medium-severity denial of service vulnerability in Redhat Enterprise Linux, published on 17 Oct 2013. 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-4287 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- rubygems-update (RubyGems): affected all versions; fixed in 1.8.23.1\n- rubygems-update (RubyGems): affected all versions; fixed in 1.8.23.1\n- rubygems-update (RubyGems): affected from 1.8.24; fixed in 1.8.26\n- rubygems-update (RubyGems): affected from 1.8.24; fixed in 1.8.26\n- rubygems-update (RubyGems): affected from 2.0.0; fixed in 2.0.8\n- rubygems-update (RubyGems): affected from 2.0.0; fixed in 2.0.8\n- rubygems-update (RubyGems): affected from 2.1.0.rc.1; fixed in 2.1.0\n- rubygems-update (RubyGems): affected from 2.1.0.rc.1; fixed in 2.1.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-4287/ (Markdown: https://insights.sbomify.com/CVE-2013-4287/index.md)","id":"CVE-2013-4287","markdown":"https://insights.sbomify.com/CVE-2013-4287/index.md","name":"CVE-2013-4287","record":{"aliases":["DEBIAN-CVE-2013-4287","GHSA-9j7m-rjqx-48vh","RHSA-2013:1427","RHSA-2013:1523","RHSA-2014:0207"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"RubyGems library","requires_auth":"none","summary":"Remote attackers can cause denial of service via CPU exhaustion by submitting crafted gem versions that trigger excessive regex backtracking in RubyGems.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"enterprise_linux","vendor":"redhat"},{"product":"ruby","vendor":"ruby-lang"},{"product":"rubygems","vendor":"rubygems"}],"cvss":{"score":4.3,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","version":"2.0"},"cwes":[{"id":"CWE-310","name":null}],"description":"Algorithmic complexity vulnerability in Gem::Version::VERSION_PATTERN in lib/rubygems/version.rb in RubyGems before 1.8.23.1, 1.8.24 through 1.8.25, 2.0.x before 2.0.8, and 2.1.x before 2.1.0, as used in Ruby 1.9.0 through 2.0.0p247, allows remote attackers to cause a denial of service (CPU consumption) via a crafted gem version that triggers a large amount of backtracking in a regular expression.","ecosystems":["Red Hat:openshift:2.0::el6","Red Hat:openstack:3::el6","Red Hat:rhel_software_collections:1::el6","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":"RubyGems Regular Expression Denial of Service vulnerability","id":"CVE-2013-4287","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":"redhat:enterprise_linux","products":["redhat:enterprise_linux","ruby-lang:ruby"],"type":"denial_of_service","year":"2013"},"n_packages":39,"n_references":9,"next":{"headline":"Race condition in n/a","id":"CVE-2013-4288"},"packages":[{"ecosystem":"RubyGems","fixed":["1.8.23.1"],"introduced":["0"],"last_affected":[],"package":"rubygems-update","purl":null,"source":"GHSA-9j7m-rjqx-48vh"},{"ecosystem":"RubyGems","fixed":["1.8.23.1"],"introduced":["0"],"last_affected":[],"package":"rubygems-update","purl":"pkg:gem/rubygems-update","source":"GHSA-9j7m-rjqx-48vh"},{"ecosystem":"RubyGems","fixed":["1.8.26"],"introduced":["1.8.24"],"last_affected":[],"package":"rubygems-update","purl":null,"source":"GHSA-9j7m-rjqx-48vh"},{"ecosystem":"RubyGems","fixed":["1.8.26"],"introduced":["1.8.24"],"last_affected":[],"package":"rubygems-update","purl":"pkg:gem/rubygems-update","source":"GHSA-9j7m-rjqx-48vh"},{"ecosystem":"RubyGems","fixed":["2.0.8"],"introduced":["2.0.0"],"last_affected":[],"package":"rubygems-update","purl":null,"source":"GHSA-9j7m-rjqx-48vh"},{"ecosystem":"RubyGems","fixed":["2.0.8"],"introduced":["2.0.0"],"last_affected":[],"package":"rubygems-update","purl":"pkg:gem/rubygems-update","source":"GHSA-9j7m-rjqx-48vh"},{"ecosystem":"RubyGems","fixed":["2.1.0"],"introduced":["2.1.0.rc.1"],"last_affected":[],"package":"rubygems-update","purl":null,"source":"GHSA-9j7m-rjqx-48vh"},{"ecosystem":"RubyGems","fixed":["2.1.0"],"introduced":["2.1.0.rc.1"],"last_affected":[],"package":"rubygems-update","purl":"pkg:gem/rubygems-update","source":"GHSA-9j7m-rjqx-48vh"},{"ecosystem":"Red Hat:openshift:2.0::el6","fixed":["0:1.8.24-5.el6op"],"introduced":["0"],"last_affected":[],"package":"rubygems","purl":"pkg:rpm/redhat/rubygems","source":"RHSA-2014:0207"},{"ecosystem":"Red Hat:openshift:2.0::el6","fixed":["0:1.8.24-5.el6op"],"introduced":["0"],"last_affected":[],"package":"rubygems-devel","purl":"pkg:rpm/redhat/rubygems-devel","source":"RHSA-2014:0207"},{"ecosystem":"Red Hat:openstack:3::el6","fixed":["0:1.9.3.448-40.el6"],"introduced":["0"],"last_affected":[],"package":"ruby193-ruby","purl":"pkg:rpm/redhat/ruby193-ruby","source":"RHSA-2013:1523"},{"ecosystem":"Red Hat:openstack:3::el6","fixed":["0:1.9.3.448-40.el6"],"introduced":["0"],"last_affected":[],"package":"ruby193-ruby-debuginfo","purl":"pkg:rpm/redhat/ruby193-ruby-debuginfo","source":"RHSA-2013:1523"},{"ecosystem":"Red Hat:openstack:3::el6","fixed":["0:1.9.3.448-40.el6"],"introduced":["0"],"last_affected":[],"package":"ruby193-ruby-devel","purl":"pkg:rpm/redhat/ruby193-ruby-devel","source":"RHSA-2013:1523"},{"ecosystem":"Red Hat:openstack:3::el6","fixed":["0:1.9.3.448-40.el6"],"introduced":["0"],"last_affected":[],"package":"ruby193-ruby-doc","purl":"pkg:rpm/redhat/ruby193-ruby-doc","source":"RHSA-2013:1523"},{"ecosystem":"Red Hat:openstack:3::el6","fixed":["0:1.9.3.448-40.el6"],"introduced":["0"],"last_affected":[],"package":"ruby193-ruby-irb","purl":"pkg:rpm/redhat/ruby193-ruby-irb","source":"RHSA-2013:1523"},{"ecosystem":"Red Hat:openstack:3::el6","fixed":["0:1.9.3.448-40.el6"],"introduced":["0"],"last_affected":[],"package":"ruby193-ruby-libs","purl":"pkg:rpm/redhat/ruby193-ruby-libs","source":"RHSA-2013:1523"},{"ecosystem":"Red Hat:openstack:3::el6","fixed":["0:1.9.3.448-40.el6"],"introduced":["0"],"last_affected":[],"package":"ruby193-ruby-tcltk","purl":"pkg:rpm/redhat/ruby193-ruby-tcltk","source":"RHSA-2013:1523"},{"ecosystem":"Red Hat:openstack:3::el6","fixed":["0:1.1.0-40.el6"],"introduced":["0"],"last_affected":[],"package":"ruby193-rubygem-bigdecimal","purl":"pkg:rpm/redhat/ruby193-rubygem-bigdecimal","source":"RHSA-2013:1523"},{"ecosystem":"Red Hat:openstack:3::el6","fixed":["0:0.3-40.el6"],"introduced":["0"],"last_affected":[],"package":"ruby193-rubygem-io-console","purl":"pkg:rpm/redhat/ruby193-rubygem-io-console","source":"RHSA-2013:1523"},{"ecosystem":"Red Hat:openstack:3::el6","fixed":["0:1.5.5-40.el6"],"introduced":["0"],"last_affected":[],"package":"ruby193-rubygem-json","purl":"pkg:rpm/redhat/ruby193-rubygem-json","source":"RHSA-2013:1523"},{"ecosystem":"Red Hat:openstack:3::el6","fixed":["0:2.5.1-40.el6"],"introduced":["0"],"last_affected":[],"package":"ruby193-rubygem-minitest","purl":"pkg:rpm/redhat/ruby193-rubygem-minitest","source":"RHSA-2013:1523"},{"ecosystem":"Red Hat:openstack:3::el6","fixed":["0:0.9.2.2-40.el6"],"introduced":["0"],"last_affected":[],"package":"ruby193-rubygem-rake","purl":"pkg:rpm/redhat/ruby193-rubygem-rake","source":"RHSA-2013:1523"},{"ecosystem":"Red Hat:openstack:3::el6","fixed":["0:1.8.24-9.el6ost"],"introduced":["0"],"last_affected":[],"package":"ruby193-rubygems","purl":"pkg:rpm/redhat/ruby193-rubygems","source":"RHSA-2013:1523"},{"ecosystem":"Red Hat:openstack:3::el6","fixed":["0:1.8.24-9.el6ost"],"introduced":["0"],"last_affected":[],"package":"ruby193-rubygems-devel","purl":"pkg:rpm/redhat/ruby193-rubygems-devel","source":"RHSA-2013:1523"},{"ecosystem":"Red Hat:rhel_software_collections:1::el6","fixed":["0:1.9.3.448-40.el6"],"introduced":["0"],"last_affected":[],"package":"ruby193-ruby","purl":"pkg:rpm/redhat/ruby193-ruby","source":"RHSA-2013:1427"},{"ecosystem":"Red Hat:rhel_software_collections:1::el6","fixed":["0:1.9.3.448-40.el6"],"introduced":["0"],"last_affected":[],"package":"ruby193-ruby-debuginfo","purl":"pkg:rpm/redhat/ruby193-ruby-debuginfo","source":"RHSA-2013:1427"},{"ecosystem":"Red Hat:rhel_software_collections:1::el6","fixed":["0:1.9.3.448-40.el6"],"introduced":["0"],"last_affected":[],"package":"ruby193-ruby-devel","purl":"pkg:rpm/redhat/ruby193-ruby-devel","source":"RHSA-2013:1427"},{"ecosystem":"Red Hat:rhel_software_collections:1::el6","fixed":["0:1.9.3.448-40.el6"],"introduced":["0"],"last_affected":[],"package":"ruby193-ruby-doc","purl":"pkg:rpm/redhat/ruby193-ruby-doc","source":"RHSA-2013:1427"},{"ecosystem":"Red Hat:rhel_software_collections:1::el6","fixed":["0:1.9.3.448-40.el6"],"introduced":["0"],"last_affected":[],"package":"ruby193-ruby-irb","purl":"pkg:rpm/redhat/ruby193-ruby-irb","source":"RHSA-2013:1427"},{"ecosystem":"Red Hat:rhel_software_collections:1::el6","fixed":["0:1.9.3.448-40.el6"],"introduced":["0"],"last_affected":[],"package":"ruby193-ruby-libs","purl":"pkg:rpm/redhat/ruby193-ruby-libs","source":"RHSA-2013:1427"},{"ecosystem":"Red Hat:rhel_software_collections:1::el6","fixed":["0:1.9.3.448-40.el6"],"introduced":["0"],"last_affected":[],"package":"ruby193-ruby-tcltk","purl":"pkg:rpm/redhat/ruby193-ruby-tcltk","source":"RHSA-2013:1427"},{"ecosystem":"Red Hat:rhel_software_collections:1::el6","fixed":["0:1.1.0-40.el6"],"introduced":["0"],"last_affected":[],"package":"ruby193-rubygem-bigdecimal","purl":"pkg:rpm/redhat/ruby193-rubygem-bigdecimal","source":"RHSA-2013:1427"},{"ecosystem":"Red Hat:rhel_software_collections:1::el6","fixed":["0:0.3-40.el6"],"introduced":["0"],"last_affected":[],"package":"ruby193-rubygem-io-console","purl":"pkg:rpm/redhat/ruby193-rubygem-io-console","source":"RHSA-2013:1427"},{"ecosystem":"Red Hat:rhel_software_collections:1::el6","fixed":["0:1.5.5-40.el6"],"introduced":["0"],"last_affected":[],"package":"ruby193-rubygem-json","purl":"pkg:rpm/redhat/ruby193-rubygem-json","source":"RHSA-2013:1427"},{"ecosystem":"Red Hat:rhel_software_collections:1::el6","fixed":["0:2.5.1-40.el6"],"introduced":["0"],"last_affected":[],"package":"ruby193-rubygem-minitest","purl":"pkg:rpm/redhat/ruby193-rubygem-minitest","source":"RHSA-2013:1427"},{"ecosystem":"Red Hat:rhel_software_collections:1::el6","fixed":["0:0.9.2.2-40.el6"],"introduced":["0"],"last_affected":[],"package":"ruby193-rubygem-rake","purl":"pkg:rpm/redhat/ruby193-rubygem-rake","source":"RHSA-2013:1427"},{"ecosystem":"Red Hat:rhel_software_collections:1::el6","fixed":["0:3.9.5-40.el6"],"introduced":["0"],"last_affected":[],"package":"ruby193-rubygem-rdoc","purl":"pkg:rpm/redhat/ruby193-rubygem-rdoc","source":"RHSA-2013:1427"},{"ecosystem":"Red Hat:rhel_software_collections:1::el6","fixed":["0:1.8.23-40.el6"],"introduced":["0"],"last_affected":[],"package":"ruby193-rubygems","purl":"pkg:rpm/redhat/ruby193-rubygems","source":"RHSA-2013:1427"},{"ecosystem":"Red Hat:rhel_software_collections:1::el6","fixed":["0:1.8.23-40.el6"],"introduced":["0"],"last_affected":[],"package":"ruby193-rubygems-devel","purl":"pkg:rpm/redhat/ruby193-rubygems-devel","source":"RHSA-2013:1427"}],"prev":{"headline":"Apache Tomcat is vulnerable to HTTP request-smuggling","id":"CVE-2013-4286"},"products":["n/a"],"published":"2013-10-17","related":[{"cvss_score":9.8,"headline":"Red Hat JBoss RichFaces Framework Expression Language Injection","id":"CVE-2018-14667","kev_date_added":"2023-09-28","published":"2018-11-06"},{"cvss_score":9.8,"headline":"Missing fixes for CVE-2021-40438 and CVE-2021-26691 in the versions of httpd, as shipped in Red Hat Enterprise Linux 8.5.0, causes a securit","id":"CVE-2021-20325","kev_date_added":null,"published":"2022-02-18"},{"cvss_score":9.8,"headline":"Memory corruption in libwebp","id":"CVE-2018-25011","kev_date_added":null,"published":"2021-05-21"},{"cvss_score":9.8,"headline":"Other in libwebp","id":"CVE-2018-25014","kev_date_added":null,"published":"2021-05-21"},{"cvss_score":9.8,"headline":"Supply chain in redhat-upgrade-tool","id":"CVE-2014-3585","kev_date_added":null,"published":"2019-11-22"},{"cvss_score":9.3,"headline":"Squid: request/response smuggling in http/1.1 and icap","id":"CVE-2023-46846","kev_date_added":null,"published":"2023-11-03"},{"cvss_score":9.1,"headline":"Memory corruption in libwebp","id":"CVE-2018-25009","kev_date_added":null,"published":"2021-05-21"}],"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":"Remote attackers can cause denial of service via CPU exhaustion by submitting crafted gem versions that trigger excessive regex backtracking in RubyGems.","url":"https://insights.sbomify.com/CVE-2013-4287/"}