Approved changes feed: RSS · Atom
cpe:2.3:a:rubygems:rubygems:*:*:*:*:*:*:*:*
part: a version: * update: *
| Vendor | Rubygems (5347428e-e8c8-57fc-9684-11fb386ba37c) |
|---|---|
| Product | Rubygems (71142bdc-898b-5262-af64-3aa5698c056b) |
| Edition | * |
| Language | * |
| Software edition | * |
| Target software | * |
| Target hardware | * |
| Other | * |
| Notes | Imported from purl2cpe mapping |
PURL mappings
| PURL | Source | Last updated |
|---|---|---|
pkg:deb/debian/ruby-rubygems |
purl2cpe | 2026-06-01 10:18:08.480946 |
pkg:deb/ubuntu/ruby-rubygems |
purl2cpe | 2026-06-01 10:18:08.480949 |
pkg:gem/rubygems |
purl2cpe | 2026-06-01 10:18:08.480952 |
pkg:github/rubygems/rubygems |
purl2cpe | 2026-06-01 10:18:08.480955 |
pkg:rpm/fedora/rubygems |
purl2cpe | 2026-06-01 10:18:08.480958 |
pkg:rpm/opensuse/rubygems |
purl2cpe | 2026-06-01 10:18:08.480961 |
Vulnerability references
| Identifier | cpeApplicability | Submitted | db.gcve.eu details | Rationale |
|---|---|---|---|---|
CVE:CVE-2022-36073 |
vulnerable | 2026-06-08 05:46:06.275256 |
RubyGems allows creation of users with arbitrary unverified emails
HIGH (8.3)
RubyGems.org is the Ruby community gem host. A bug in password & email change confirmation code allowed an attacker to change their RubyGems.org account's email to an unowned email address. Having access to an account whose email has been changed could enable an attacker to save API keys for that account, and when a legitimate user attempts to create an account with their email (and has to reset password to gain access) and is granted access to other gems, the attacker would then be able to publish and yank versions of those gems. Commit number 90c9e6aac2d91518b479c51d48275c57de492d4d contains a patch for this issue.
Published: 2022-09-07T19:45:11.000Z
Updated: 2025-04-23T17:14:06.744Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2021-43809 |
vulnerable | 2026-06-08 05:36:44.329647 |
Local Code Execution through Argument Injection via dash leading git url parameter in Gemfile
MEDIUM (6.7)
`Bundler` is a package for managing application dependencies in Ruby. In `bundler` versions before 2.2.33, when working with untrusted and apparently harmless `Gemfile`'s, it is not expected that they lead to execution of external code, unless that's explicit in the ruby code inside the `Gemfile` itself. However, if the `Gemfile` includes `gem` entries that use the `git` option with invalid, but seemingly harmless, values with a leading dash, this can be false. To handle dependencies that come from a Git repository instead of a registry, Bundler uses various commands, such as `git clone`. These commands are being constructed using user input (e.g. the repository URL). When building the commands, Bundler versions before 2.2.33 correctly avoid Command Injection vulnerabilities by passing an array of arguments instead of a command string. However, there is the possibility that a user input starts with a dash (`-`) and is therefore treated as an optional argument instead of a positional one. This can lead to Code Execution because some of the commands have options that can be leveraged to run arbitrary executables. Since this value comes from the `Gemfile` file, it can contain any character, including a leading dash.
To exploit this vulnerability, an attacker has to craft a directory containing a `Gemfile` file that declares a dependency that is located in a Git repository. This dependency has to have a Git URL in the form of `-u./payload`. This URL will be used to construct a Git clone command but will be interpreted as the upload-pack argument. Then this directory needs to be shared with the victim, who then needs to run a command that evaluates the Gemfile, such as `bundle lock`, inside.
This vulnerability can lead to Arbitrary Code Execution, which could potentially lead to the takeover of the system. However, the exploitability is very low, because it requires a lot of user interaction. Bundler 2.2.33 has patched this problem by inserting `--` as an argument before any positional arguments to those Git commands that were affected by this issue. Regardless of whether users can upgrade or not, they should review any untrustred `Gemfile`'s before running any `bundler` commands that may read them, since they can contain arbitrary ruby code.
Published: 2021-12-08T18:50:12.000Z
Updated: 2025-11-03T19:26:31.480Z Reference links
|
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2019-8325 |
vulnerable | 2026-06-08 05:14:23.841689 |
Details available
An issue was discovered in RubyGems 2.6 and later through 3.0.2. Since Gem::CommandManager#run calls alert_error without escaping, escape sequence injection is possible. (There are many ways to cause an error.)
Published: 2019-06-17T18:59:57.000Z
Updated: 2024-08-04T21:17:30.566Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2019-8324 |
vulnerable | 2026-06-08 05:14:23.839034 |
Details available
An issue was discovered in RubyGems 2.6 and later through 3.0.2. A crafted gem with a multi-line name is not handled correctly. Therefore, an attacker could inject arbitrary code to the stub line of gemspec, which is eval-ed by code in ensure_loadable_spec during the preinstall check.
Published: 2019-06-17T18:59:30.000Z
Updated: 2024-08-04T21:17:31.266Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2019-8323 |
vulnerable | 2026-06-08 05:14:23.838397 |
Details available
An issue was discovered in RubyGems 2.6 and later through 3.0.2. Gem::GemcutterUtilities#with_response may output the API response to stdout as it is. Therefore, if the API side modifies the response, escape sequence injection may occur.
Published: 2019-06-17T19:01:32.000Z
Updated: 2024-08-04T21:17:31.202Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2019-8322 |
vulnerable | 2026-06-08 05:14:23.837738 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2019-8321 |
vulnerable | 2026-06-08 05:14:23.835222 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2019-8320 |
vulnerable | 2026-06-08 05:14:23.834722 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2018-1000079 |
vulnerable | 2026-06-08 05:10:25.397653 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2018-1000078 |
vulnerable | 2026-06-08 05:10:25.397126 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2018-1000077 |
vulnerable | 2026-06-08 05:10:25.396528 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2018-1000076 |
vulnerable | 2026-06-08 05:10:25.395932 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2018-1000075 |
vulnerable | 2026-06-08 05:10:25.395082 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2018-1000074 |
vulnerable | 2026-06-08 05:10:25.394455 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2018-1000073 |
vulnerable | 2026-06-08 05:10:25.393665 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2017-0902 |
vulnerable | 2026-06-08 05:08:26.835841 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2017-0901 |
vulnerable | 2026-06-08 05:08:26.831726 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2017-0900 |
vulnerable | 2026-06-08 05:08:26.830606 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2017-0899 |
vulnerable | 2026-06-08 05:08:26.827808 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2013-4363 |
vulnerable | 2026-06-08 05:04:35.746858 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2013-4287 |
vulnerable | 2026-06-08 05:04:35.234319 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2012-2126 |
vulnerable | 2026-06-08 05:00:52.946623 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2012-2125 |
vulnerable | 2026-06-08 05:00:52.934178 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
Contribute
You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.