{"answers":{"affected":"22 open source packages ship an affected version, including cron_parser, awesome-bot and bitcoin_vanity. It affects 1 product.","exploited":"There is no known exploitation of CVE-2019-15224 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2019-15224 is a critical code injection vulnerability in n/a, published on 19 Aug 2019. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2019-15224 and fix it if it is affected.\n\nWhat it is: CVE-2019-15224 is a critical code injection vulnerability in n/a, published on 19 Aug 2019. 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-2019-15224 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- cron_parser (RubyGems): affected all versions; no fix listed\n- cron_parser (RubyGems): affected all versions; no fix listed\n- cron_parser (RubyGems): affected from 1.0.13 up to 1.0.14; no fix listed\n- cron_parser (RubyGems): affected from 1.0.13 up to 1.0.14; no fix listed\n- awesome-bot (RubyGems): affected all versions; no fix listed\n- awesome-bot (RubyGems): affected all versions; no fix listed\n- bitcoin_vanity (RubyGems): affected all versions; no fix listed\n- bitcoin_vanity (RubyGems): affected all versions; no fix listed\n- blockchain_wallet (RubyGems): affected all versions; no fix listed\n- blockchain_wallet (RubyGems): affected all versions; no fix listed\n- capistrano-colors (RubyGems): affected all versions; no fix listed\n- capistrano-colors (RubyGems): affected all versions; 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-2019-15224/ (Markdown: https://insights.sbomify.com/CVE-2019-15224/index.md)","id":"CVE-2019-15224","markdown":"https://insights.sbomify.com/CVE-2019-15224/index.md","name":"CVE-2019-15224","record":{"aliases":["GHSA-333g-rpr4-7hxq"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Ruby rest-client gem","requires_auth":"none","summary":"A backdoor in the rest-client gem allows attackers to execute arbitrary code on systems using affected versions.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"rest-client","vendor":"rest-client_project"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"The rest-client gem 1.6.10 through 1.6.13 for Ruby, as distributed on RubyGems.org, included a code-execution backdoor inserted by a third party. Versions \u003c=1.6.9 and \u003e=1.6.14 are unaffected.","ecosystems":["RubyGems"],"exploits":{"exploitdb":0,"first_seen":"2019-08-23","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2019-08-23T20:38:44Z","kind":"github_poc","ref":"https://github.com/chef-cft/inspec_cve_2019_15224","stars":1,"title":"Example InSpec profile to detect presence of a malicious rest-client gem (CVE-2019-15224)"}],"tier":"poc_unverified"},"has_fix":true,"headline":"rest-client Gem Contains Malicious Code","id":"CVE-2019-15224","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":null,"products":[],"type":"code_injection","year":"2019"},"n_packages":22,"n_references":2,"next":{"headline":"Denial of service in n/a","id":"CVE-2019-15225"},"packages":[{"ecosystem":"RubyGems","fixed":[],"introduced":["0"],"last_affected":[],"package":"awesome-bot","purl":null,"source":"GHSA-333g-rpr4-7hxq"},{"ecosystem":"RubyGems","fixed":[],"introduced":["0"],"last_affected":[],"package":"awesome-bot","purl":"pkg:gem/awesome-bot","source":"GHSA-333g-rpr4-7hxq"},{"ecosystem":"RubyGems","fixed":[],"introduced":["0"],"last_affected":[],"package":"bitcoin_vanity","purl":null,"source":"GHSA-333g-rpr4-7hxq"},{"ecosystem":"RubyGems","fixed":[],"introduced":["0"],"last_affected":[],"package":"bitcoin_vanity","purl":"pkg:gem/bitcoin_vanity","source":"GHSA-333g-rpr4-7hxq"},{"ecosystem":"RubyGems","fixed":[],"introduced":["0"],"last_affected":[],"package":"blockchain_wallet","purl":null,"source":"GHSA-333g-rpr4-7hxq"},{"ecosystem":"RubyGems","fixed":[],"introduced":["0"],"last_affected":[],"package":"blockchain_wallet","purl":"pkg:gem/blockchain_wallet","source":"GHSA-333g-rpr4-7hxq"},{"ecosystem":"RubyGems","fixed":[],"introduced":["0"],"last_affected":[],"package":"capistrano-colors","purl":null,"source":"GHSA-333g-rpr4-7hxq"},{"ecosystem":"RubyGems","fixed":[],"introduced":["0"],"last_affected":[],"package":"capistrano-colors","purl":"pkg:gem/capistrano-colors","source":"GHSA-333g-rpr4-7hxq"},{"ecosystem":"RubyGems","fixed":[],"introduced":["0"],"last_affected":[],"package":"coin_base","purl":null,"source":"GHSA-333g-rpr4-7hxq"},{"ecosystem":"RubyGems","fixed":[],"introduced":["0"],"last_affected":[],"package":"coin_base","purl":"pkg:gem/coin_base","source":"GHSA-333g-rpr4-7hxq"},{"ecosystem":"RubyGems","fixed":[],"introduced":["0"],"last_affected":[],"package":"coming-soon","purl":null,"source":"GHSA-333g-rpr4-7hxq"},{"ecosystem":"RubyGems","fixed":[],"introduced":["0"],"last_affected":[],"package":"coming-soon","purl":"pkg:gem/coming-soon","source":"GHSA-333g-rpr4-7hxq"},{"ecosystem":"RubyGems","fixed":[],"introduced":[],"last_affected":[],"package":"cron_parser","purl":null,"source":"GHSA-333g-rpr4-7hxq"},{"ecosystem":"RubyGems","fixed":[],"introduced":[],"last_affected":[],"package":"cron_parser","purl":"pkg:gem/cron_parser","source":"GHSA-333g-rpr4-7hxq"},{"ecosystem":"RubyGems","fixed":[],"introduced":["1.0.13"],"last_affected":["1.0.14"],"package":"cron_parser","purl":null,"source":"GHSA-333g-rpr4-7hxq"},{"ecosystem":"RubyGems","fixed":[],"introduced":["1.0.13"],"last_affected":["1.0.14"],"package":"cron_parser","purl":"pkg:gem/cron_parser","source":"GHSA-333g-rpr4-7hxq"},{"ecosystem":"RubyGems","fixed":[],"introduced":["0"],"last_affected":[],"package":"doge-coin","purl":null,"source":"GHSA-333g-rpr4-7hxq"},{"ecosystem":"RubyGems","fixed":[],"introduced":["0"],"last_affected":[],"package":"doge-coin","purl":"pkg:gem/doge-coin","source":"GHSA-333g-rpr4-7hxq"},{"ecosystem":"RubyGems","fixed":[],"introduced":["0"],"last_affected":[],"package":"omniauth_amazon","purl":null,"source":"GHSA-333g-rpr4-7hxq"},{"ecosystem":"RubyGems","fixed":[],"introduced":["0"],"last_affected":[],"package":"omniauth_amazon","purl":"pkg:gem/omniauth_amazon","source":"GHSA-333g-rpr4-7hxq"},{"ecosystem":"RubyGems","fixed":["1.7.0"],"introduced":["1.6.10"],"last_affected":[],"package":"rest-client","purl":null,"source":"GHSA-333g-rpr4-7hxq"},{"ecosystem":"RubyGems","fixed":["1.7.0"],"introduced":["1.6.10"],"last_affected":[],"package":"rest-client","purl":"pkg:gem/rest-client","source":"GHSA-333g-rpr4-7hxq"}],"prev":{"headline":"Null dereference in n/a","id":"CVE-2019-15223"},"products":["n/a"],"published":"2019-08-19","related":[{"cvss_score":9.8,"headline":"rest-client Gem Vulnerable to Session Fixation","id":"CVE-2015-1820","kev_date_added":null,"published":"2017-08-09"},{"cvss_score":2.1,"headline":"rest-client allows local users to obtain sensitive information by reading the log","id":"CVE-2015-3448","kev_date_added":null,"published":"2015-04-29"}],"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":"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"A backdoor in the rest-client gem allows attackers to execute arbitrary code on systems using affected versions.","url":"https://insights.sbomify.com/CVE-2019-15224/"}