CVE-2021-43809
Local Code Execution through Argument Injection via dash leading git url parameter in Gemfile
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- Low
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
6.7
Local Code Execution through Argument Injection via dash leading git url parameter in Gemfile
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.
- Record
CVE-2021-43809- CVSS 3.1
- 6.7 Medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-88
- Updated
- 2026-11-02
EUVDEUVD-2021-2513
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.
- Record
EUVD-2021-2513- CVSS 3.1
- 6.7 Medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-fj7f-vq84-fh43
6.7
Local Code Execution through Argument Injection via dash leading git url parameter in Gemfile.
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.
Exploitation
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.
Impact
This vulnerability can lead to Arbitrary Code Execution, which could potentially lead to the takeover of the system. However, as explained above, the exploitability is very low, because it requires a lot of user interaction. It still could put developers at risk when dealing with untrusted files in a way they think is safe, because the exploit still works when the victim tries to make sure nothing can happen, e.g. by manually reviewing the Gemfile (although they would need the weird URL with a leading dash to not raise any flags).
This kind of attack vector has been used in the past to target security researchers by sending them projects to collaborate on.
Patches
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.
Workarounds
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.
References
- Record
GHSA-fj7f-vq84-fh43- CVSS 3.1
- 6.7 Medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-88
- Updated
- 2026-11-02
NVD
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.
- Record
CVE-2021-43809- CVSS 3.1
- 6.7 Medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H - CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 9.3 High
AV:N/AC:M/Au:N/C:C/I:C/A:C - Weakness
- CWE-88
- Updated
- 2026-11-03
OSVALPINE-CVE-2021-43809
7.3
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.
- Record
ALPINE-CVE-2021-43809- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVBELL-CVE-2021-43809
7.3
CVE-2021-43809 does not affect BellSoft software
- Record
BELL-CVE-2021-43809- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 12 moreShow less
OSV
7.3
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.
- Record
CVE-2021-43809- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-04
OSVDEBIAN-CVE-2021-43809
7.3
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.
- Record
DEBIAN-CVE-2021-43809- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSVGHSA-fj7f-vq84-fh43
6.7
Local Code Execution through Argument Injection via dash leading git url parameter in Gemfile.
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.
Exploitation
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.
Impact
This vulnerability can lead to Arbitrary Code Execution, which could potentially lead to the takeover of the system. However, as explained above, the exploitability is very low, because it requires a lot of user interaction. It still could put developers at risk when dealing with untrusted files in a way they think is safe, because the exploit still works when the victim tries to make sure nothing can happen, e.g. by manually reviewing the Gemfile (although they would need the weird URL with a leading dash to not raise any flags).
This kind of attack vector has been used in the past to target security researchers by sending them projects to collaborate on.
Patches
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.
Workarounds
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.
References
- Record
GHSA-fj7f-vq84-fh43- CVSS 3.1
- 6.7 Medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-88
- Updated
- 2026-11-02
OSVOESA-2021-1480
7.3
rubygem-bundler security update
Library and utilities to manage a Ruby application's gem dependencies.
Security Fix(es):
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.(CVE-2021-43809)
- Record
OESA-2021-1480- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVOESA-2022-1934
7.3
rubygem-bundler security update
Security Fix(es):
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.(CVE-2021-43809)
- Record
OESA-2022-1934- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2025:7539
7.5
Red Hat Security Advisory: ruby:2.5 security update
- Record
RHSA-2025:7539- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRLSA-2025:7539
7.5
Moderate: ruby:2.5 security update
Ruby is an extensible, interpreted, object-oriented, scripting language. It has features to process text files and to perform system management tasks.
Security Fix(es):
-
oniguruma: integer overflow in search_in_range function in regexec.c leads to out-of-bounds read (CVE-2019-19012)
-
rubygem-bundler: unexpected code execution in Gemfiles (CVE-2021-43809)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
RLSA-2025:7539- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-43809
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.
- Record
UBUNTU-CVE-2021-43809- CVSS 3.1
- 6.7 Medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H - CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVALSA-2025:7539 No score
Moderate: ruby:2.5 security update
Ruby is an extensible, interpreted, object-oriented, scripting language. It has features to process text files and to perform system management tasks.
Security Fix(es):
- oniguruma: integer overflow in search_in_range function in regexec.c leads to out-of-bounds read (CVE-2019-19012)
- rubygem-bundler: unexpected code execution in Gemfiles (CVE-2021-43809)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
ALSA-2025:7539- Updated
- 2026-11-02
OSVMGASA-2022-0102 No score
Updated ruby packages fix security vulnerability
Command injection in ruby bundler. (CVE-2021-43809)
- Record
MGASA-2022-0102- Updated
- 2026-11-02
OSVSUSE-SU-2024:3873-1 No score
Security update for rubygem-bundler
This update for rubygem-bundler fixes the following issues:
- CVE-2021-43809: Fixed remote execution via Gemfile argument injection (bsc#1193578)
- Record
SUSE-SU-2024:3873-1- Updated
- 2026-11-02
OSVSUSE-SU-2026:1355-1 No score
Security update for rubygem-bundler
This update for rubygem-bundler fixes the following issues:
Updated to version 2.2.34.
-
CVE-2020-36327: Bundler chooses a dependency source based on the highest gem version number, which means that a rogue gem found at a public source may be chosen (bsc#1185842)
-
CVE-2021-43809: rubygem-bundler: remote execution via Gemfile argument injection (bsc#1193578)
- Record
SUSE-SU-2026:1355-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
bundlerRubyGems |
before 2.2.33 | 2.2.33 |
ruby-bundlerAlpine:v3.15 |
before 2.2.33-r0 | 2.2.33-r0 |
rubyAlmaLinux:8 From an advisory covering 2 CVEs |
before 2.5.9-114.module_el8.10.0+3991+5e651d4e | 2.5.9-114.module_el8.10.0+3991+5e651d4e |
ruby-develAlmaLinux:8 From an advisory covering 2 CVEs |
before 2.5.9-114.module_el8.10.0+3991+5e651d4e | 2.5.9-114.module_el8.10.0+3991+5e651d4e |
ruby-docAlmaLinux:8 From an advisory covering 2 CVEs |
before 2.5.9-114.module_el8.10.0+3991+5e651d4e | 2.5.9-114.module_el8.10.0+3991+5e651d4e |
ruby-irbAlmaLinux:8 From an advisory covering 2 CVEs |
before 2.5.9-114.module_el8.10.0+3991+5e651d4e | 2.5.9-114.module_el8.10.0+3991+5e651d4e |
ruby-libsAlmaLinux:8 From an advisory covering 2 CVEs |
before 2.5.9-114.module_el8.10.0+3991+5e651d4e | 2.5.9-114.module_el8.10.0+3991+5e651d4e |
rubygem-abrtAlmaLinux:8 From an advisory covering 2 CVEs |
before 0.3.0-4.module_el8.5.0+2625+ec418553 | 0.3.0-4.module_el8.5.0+2625+ec418553 |
rubygem-abrt-docAlmaLinux:8 From an advisory covering 2 CVEs |
before 0.3.0-4.module_el8.10.0+3871+342e2c2f | 0.3.0-4.module_el8.10.0+3871+342e2c2f |
rubygem-bigdecimalAlmaLinux:8 From an advisory covering 2 CVEs |
before 1.3.4-114.module_el8.10.0+3991+5e651d4e | 1.3.4-114.module_el8.10.0+3991+5e651d4e |
Show 104 moreShow less
| Package | Affected | Fixed |
|---|---|---|
rubygem-bsonAlmaLinux:8 From an advisory covering 2 CVEs |
before 4.3.0-2.module_el8.5.0+2625+ec418553 | 4.3.0-2.module_el8.5.0+2625+ec418553 |
rubygem-bsonAlmaLinux:8 From an advisory covering 2 CVEs |
before 4.3.0-2.module_el8.6.0+3170+4b08f9d4 | 4.3.0-2.module_el8.6.0+3170+4b08f9d4 |
rubygem-bsonAlmaLinux:8 From an advisory covering 2 CVEs |
before 4.3.0-2.module_el8.5.0+259+8cec6917 | 4.3.0-2.module_el8.5.0+259+8cec6917 |
rubygem-bson-docAlmaLinux:8 From an advisory covering 2 CVEs |
before 4.3.0-2.module_el8.5.0+2625+ec418553 | 4.3.0-2.module_el8.5.0+2625+ec418553 |
rubygem-bundlerAlmaLinux:8 From an advisory covering 2 CVEs |
before 1.16.1-5.module_el8.10.0+3991+5e651d4e | 1.16.1-5.module_el8.10.0+3991+5e651d4e |
rubygem-bundler-docAlmaLinux:8 From an advisory covering 2 CVEs |
before 1.16.1-5.module_el8.10.0+3991+5e651d4e | 1.16.1-5.module_el8.10.0+3991+5e651d4e |
rubygem-did_you_meanAlmaLinux:8 From an advisory covering 2 CVEs |
before 1.2.0-114.module_el8.10.0+3991+5e651d4e | 1.2.0-114.module_el8.10.0+3991+5e651d4e |
rubygem-io-consoleAlmaLinux:8 From an advisory covering 2 CVEs |
before 0.4.6-114.module_el8.10.0+3991+5e651d4e | 0.4.6-114.module_el8.10.0+3991+5e651d4e |
rubygem-jsonAlmaLinux:8 From an advisory covering 2 CVEs |
before 2.1.0-114.module_el8.10.0+3991+5e651d4e | 2.1.0-114.module_el8.10.0+3991+5e651d4e |
rubygem-minitestAlmaLinux:8 From an advisory covering 2 CVEs |
before 5.10.3-114.module_el8.10.0+3991+5e651d4e | 5.10.3-114.module_el8.10.0+3991+5e651d4e |
rubygem-mongoAlmaLinux:8 From an advisory covering 2 CVEs |
before 2.5.1-2.module_el8.5.0+2625+ec418553 | 2.5.1-2.module_el8.5.0+2625+ec418553 |
rubygem-mongo-docAlmaLinux:8 From an advisory covering 2 CVEs |
before 2.5.1-2.module_el8.5.0+2625+ec418553 | 2.5.1-2.module_el8.5.0+2625+ec418553 |
rubygem-mysql2AlmaLinux:8 From an advisory covering 2 CVEs |
before 0.4.10-4.module_el8.5.0+259+8cec6917 | 0.4.10-4.module_el8.5.0+259+8cec6917 |
rubygem-mysql2AlmaLinux:8 From an advisory covering 2 CVEs |
before 0.4.10-4.module_el8.5.0+2625+ec418553 | 0.4.10-4.module_el8.5.0+2625+ec418553 |
rubygem-mysql2AlmaLinux:8 From an advisory covering 2 CVEs |
before 0.4.10-4.module_el8.6.0+3170+4b08f9d4 | 0.4.10-4.module_el8.6.0+3170+4b08f9d4 |
rubygem-mysql2-docAlmaLinux:8 From an advisory covering 2 CVEs |
before 0.4.10-4.module_el8.5.0+2625+ec418553 | 0.4.10-4.module_el8.5.0+2625+ec418553 |
rubygem-net-telnetAlmaLinux:8 From an advisory covering 2 CVEs |
before 0.1.1-114.module_el8.10.0+3991+5e651d4e | 0.1.1-114.module_el8.10.0+3991+5e651d4e |
rubygem-opensslAlmaLinux:8 From an advisory covering 2 CVEs |
before 2.1.2-114.module_el8.10.0+3991+5e651d4e | 2.1.2-114.module_el8.10.0+3991+5e651d4e |
rubygem-pgAlmaLinux:8 From an advisory covering 2 CVEs |
before 1.0.0-3.module_el8.9.0+3635+c6f99506 | 1.0.0-3.module_el8.9.0+3635+c6f99506 |
rubygem-pg-docAlmaLinux:8 From an advisory covering 2 CVEs |
before 1.0.0-3.module_el8.9.0+3635+c6f99506 | 1.0.0-3.module_el8.9.0+3635+c6f99506 |
rubygem-power_assertAlmaLinux:8 From an advisory covering 2 CVEs |
before 1.1.1-114.module_el8.10.0+3991+5e651d4e | 1.1.1-114.module_el8.10.0+3991+5e651d4e |
rubygem-psychAlmaLinux:8 From an advisory covering 2 CVEs |
before 3.0.2-114.module_el8.10.0+3991+5e651d4e | 3.0.2-114.module_el8.10.0+3991+5e651d4e |
rubygem-rakeAlmaLinux:8 From an advisory covering 2 CVEs |
before 12.3.3-114.module_el8.10.0+3991+5e651d4e | 12.3.3-114.module_el8.10.0+3991+5e651d4e |
rubygem-rdocAlmaLinux:8 From an advisory covering 2 CVEs |
before 6.0.1.1-114.module_el8.10.0+3991+5e651d4e | 6.0.1.1-114.module_el8.10.0+3991+5e651d4e |
rubygem-test-unitAlmaLinux:8 From an advisory covering 2 CVEs |
before 3.2.7-114.module_el8.10.0+3991+5e651d4e | 3.2.7-114.module_el8.10.0+3991+5e651d4e |
rubygem-xmlrpcAlmaLinux:8 From an advisory covering 2 CVEs |
before 0.3.0-114.module_el8.10.0+3991+5e651d4e | 0.3.0-114.module_el8.10.0+3991+5e651d4e |
rubygemsAlmaLinux:8 From an advisory covering 2 CVEs |
before 2.7.6.3-114.module_el8.10.0+3991+5e651d4e | 2.7.6.3-114.module_el8.10.0+3991+5e651d4e |
rubygems-develAlmaLinux:8 From an advisory covering 2 CVEs |
before 2.7.6.3-114.module_el8.10.0+3991+5e651d4e | 2.7.6.3-114.module_el8.10.0+3991+5e651d4e |
rubygemsDebian:12 |
before 3.3.5-1 | 3.3.5-1 |
rubygemsDebian:13 |
before 3.3.5-1 | 3.3.5-1 |
rubygemsDebian:14 |
before 3.3.5-1 | 3.3.5-1 |
rubygemsDebian:11 From an advisory covering 3 CVEs |
before 3.2.5-2+deb11u1, plus listed versions 3.2.5-2 |
3.2.5-2+deb11u1 |
bundlerRubyGems |
before 2.2.33, plus listed versions 0.3.00.3.10.4.00.4.10.5.0 Show 45 moreShow less0.6.00.7.00.7.10.7.20.7.3.pre0.7.3.pre20.8.00.8.10.9.00.9.0.pre10.9.0.pre20.9.0.pre30.9.0.pre40.9.0.pre50.9.10.9.1.pre10.9.100.9.110.9.120.9.130.9.140.9.150.9.160.9.170.9.180.9.190.9.20.9.200.9.210.9.220.9.230.9.240.9.250.9.260.9.30.9.40.9.50.9.60.9.70.9.80.9.91.0.01.0.0.beta.11.0.0.beta.101.0.0.beta.2 |
2.2.33 |
rubyMageia:8 |
before 2.7.5-33.3.mga8 | 2.7.5-33.3.mga8 |
rubygem-bundleropenEuler:20.03-LTS-SP1 |
before 2.2.33-1.oe1 | 2.2.33-1.oe1 |
rubygem-bundleropenEuler:20.03-LTS-SP2 |
before 2.2.33-1.oe1 | 2.2.33-1.oe1 |
rubygem-bundleropenEuler:20.03-LTS-SP3 |
before 2.2.33-1.oe1 | 2.2.33-1.oe1 |
rubyRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:2.5.9-114.module+el8.10.0+23088+750dc6ca | 0:2.5.9-114.module+el8.10.0+23088+750dc6ca |
ruby-debuginfoRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:2.5.9-114.module+el8.10.0+23088+750dc6ca | 0:2.5.9-114.module+el8.10.0+23088+750dc6ca |
ruby-debugsourceRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:2.5.9-114.module+el8.10.0+23088+750dc6ca | 0:2.5.9-114.module+el8.10.0+23088+750dc6ca |
ruby-develRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:2.5.9-114.module+el8.10.0+23088+750dc6ca | 0:2.5.9-114.module+el8.10.0+23088+750dc6ca |
ruby-docRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:2.5.9-114.module+el8.10.0+23088+750dc6ca | 0:2.5.9-114.module+el8.10.0+23088+750dc6ca |
ruby-irbRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:2.5.9-114.module+el8.10.0+23088+750dc6ca | 0:2.5.9-114.module+el8.10.0+23088+750dc6ca |
ruby-libsRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:2.5.9-114.module+el8.10.0+23088+750dc6ca | 0:2.5.9-114.module+el8.10.0+23088+750dc6ca |
ruby-libs-debuginfoRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:2.5.9-114.module+el8.10.0+23088+750dc6ca | 0:2.5.9-114.module+el8.10.0+23088+750dc6ca |
rubygem-abrtRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:0.3.0-4.module+el8.10.0+22021+135c76a8 | 0:0.3.0-4.module+el8.10.0+22021+135c76a8 |
rubygem-abrt-docRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:0.3.0-4.module+el8.10.0+22021+135c76a8 | 0:0.3.0-4.module+el8.10.0+22021+135c76a8 |
rubygem-bigdecimalRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:1.3.4-114.module+el8.10.0+23088+750dc6ca | 0:1.3.4-114.module+el8.10.0+23088+750dc6ca |
rubygem-bigdecimal-debuginfoRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:1.3.4-114.module+el8.10.0+23088+750dc6ca | 0:1.3.4-114.module+el8.10.0+23088+750dc6ca |
rubygem-bsonRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:4.3.0-2.module+el8.9.0+19193+435404ae | 0:4.3.0-2.module+el8.9.0+19193+435404ae |
rubygem-bson-debuginfoRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:4.3.0-2.module+el8.9.0+19193+435404ae | 0:4.3.0-2.module+el8.9.0+19193+435404ae |
rubygem-bson-debugsourceRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:4.3.0-2.module+el8.9.0+19193+435404ae | 0:4.3.0-2.module+el8.9.0+19193+435404ae |
rubygem-bson-docRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:4.3.0-2.module+el8.9.0+19193+435404ae | 0:4.3.0-2.module+el8.9.0+19193+435404ae |
rubygem-bundlerRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:1.16.1-5.module+el8.10.0+23088+750dc6ca | 0:1.16.1-5.module+el8.10.0+23088+750dc6ca |
rubygem-bundler-docRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:1.16.1-5.module+el8.10.0+23088+750dc6ca | 0:1.16.1-5.module+el8.10.0+23088+750dc6ca |
rubygem-did_you_meanRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:1.2.0-114.module+el8.10.0+23088+750dc6ca | 0:1.2.0-114.module+el8.10.0+23088+750dc6ca |
rubygem-io-consoleRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:0.4.6-114.module+el8.10.0+23088+750dc6ca | 0:0.4.6-114.module+el8.10.0+23088+750dc6ca |
rubygem-io-console-debuginfoRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:0.4.6-114.module+el8.10.0+23088+750dc6ca | 0:0.4.6-114.module+el8.10.0+23088+750dc6ca |
rubygem-jsonRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:2.1.0-114.module+el8.10.0+23088+750dc6ca | 0:2.1.0-114.module+el8.10.0+23088+750dc6ca |
rubygem-json-debuginfoRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:2.1.0-114.module+el8.10.0+23088+750dc6ca | 0:2.1.0-114.module+el8.10.0+23088+750dc6ca |
rubygem-minitestRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:5.10.3-114.module+el8.10.0+23088+750dc6ca | 0:5.10.3-114.module+el8.10.0+23088+750dc6ca |
rubygem-mongoRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:2.5.1-2.module+el8.9.0+19193+435404ae | 0:2.5.1-2.module+el8.9.0+19193+435404ae |
rubygem-mongo-docRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:2.5.1-2.module+el8.9.0+19193+435404ae | 0:2.5.1-2.module+el8.9.0+19193+435404ae |
rubygem-mysql2Red Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:0.4.10-4.module+el8.9.0+19193+435404ae | 0:0.4.10-4.module+el8.9.0+19193+435404ae |
rubygem-mysql2-debuginfoRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:0.4.10-4.module+el8.9.0+19193+435404ae | 0:0.4.10-4.module+el8.9.0+19193+435404ae |
rubygem-mysql2-debugsourceRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:0.4.10-4.module+el8.9.0+19193+435404ae | 0:0.4.10-4.module+el8.9.0+19193+435404ae |
rubygem-mysql2-docRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:0.4.10-4.module+el8.9.0+19193+435404ae | 0:0.4.10-4.module+el8.9.0+19193+435404ae |
rubygem-net-telnetRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:0.1.1-114.module+el8.10.0+23088+750dc6ca | 0:0.1.1-114.module+el8.10.0+23088+750dc6ca |
rubygem-opensslRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:2.1.2-114.module+el8.10.0+23088+750dc6ca | 0:2.1.2-114.module+el8.10.0+23088+750dc6ca |
rubygem-openssl-debuginfoRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:2.1.2-114.module+el8.10.0+23088+750dc6ca | 0:2.1.2-114.module+el8.10.0+23088+750dc6ca |
rubygem-pgRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:1.0.0-3.module+el8.9.0+19193+435404ae | 0:1.0.0-3.module+el8.9.0+19193+435404ae |
rubygem-pg-debuginfoRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:1.0.0-3.module+el8.9.0+19193+435404ae | 0:1.0.0-3.module+el8.9.0+19193+435404ae |
rubygem-pg-debugsourceRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:1.0.0-3.module+el8.9.0+19193+435404ae | 0:1.0.0-3.module+el8.9.0+19193+435404ae |
rubygem-pg-docRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:1.0.0-3.module+el8.9.0+19193+435404ae | 0:1.0.0-3.module+el8.9.0+19193+435404ae |
rubygem-power_assertRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:1.1.1-114.module+el8.10.0+23088+750dc6ca | 0:1.1.1-114.module+el8.10.0+23088+750dc6ca |
rubygem-psychRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:3.0.2-114.module+el8.10.0+23088+750dc6ca | 0:3.0.2-114.module+el8.10.0+23088+750dc6ca |
rubygem-psych-debuginfoRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:3.0.2-114.module+el8.10.0+23088+750dc6ca | 0:3.0.2-114.module+el8.10.0+23088+750dc6ca |
rubygem-rakeRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:12.3.3-114.module+el8.10.0+23088+750dc6ca | 0:12.3.3-114.module+el8.10.0+23088+750dc6ca |
rubygem-rdocRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:6.0.1.1-114.module+el8.10.0+23088+750dc6ca | 0:6.0.1.1-114.module+el8.10.0+23088+750dc6ca |
rubygem-test-unitRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:3.2.7-114.module+el8.10.0+23088+750dc6ca | 0:3.2.7-114.module+el8.10.0+23088+750dc6ca |
rubygem-xmlrpcRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:0.3.0-114.module+el8.10.0+23088+750dc6ca | 0:0.3.0-114.module+el8.10.0+23088+750dc6ca |
rubygemsRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:2.7.6.3-114.module+el8.10.0+23088+750dc6ca | 0:2.7.6.3-114.module+el8.10.0+23088+750dc6ca |
rubygems-develRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:2.7.6.3-114.module+el8.10.0+23088+750dc6ca | 0:2.7.6.3-114.module+el8.10.0+23088+750dc6ca |
rubyRocky Linux:8 From an advisory covering 2 CVEs |
before 0:2.5.9-114.module+el8.10.0+1979+815637df | 0:2.5.9-114.module+el8.10.0+1979+815637df |
rubygem-abrtRocky Linux:8 From an advisory covering 2 CVEs |
before 0:0.3.0-4.module+el8.5.0+738+032c9c02 | 0:0.3.0-4.module+el8.5.0+738+032c9c02 |
rubygem-abrtRocky Linux:8 From an advisory covering 2 CVEs |
before 0:0.3.0-4.module+el8.9.0+1536+5f79634e | 0:0.3.0-4.module+el8.9.0+1536+5f79634e |
rubygem-bsonRocky Linux:8 From an advisory covering 2 CVEs |
before 0:4.3.0-2.module+el8.9.0+1536+5f79634e | 0:4.3.0-2.module+el8.9.0+1536+5f79634e |
rubygem-bundlerRocky Linux:8 From an advisory covering 2 CVEs |
before 0:1.16.1-5.module+el8.10.0+1979+815637df | 0:1.16.1-5.module+el8.10.0+1979+815637df |
rubygem-mongoRocky Linux:8 From an advisory covering 2 CVEs |
before 0:2.5.1-2.module+el8.9.0+1536+5f79634e | 0:2.5.1-2.module+el8.9.0+1536+5f79634e |
rubygem-mysql2Rocky Linux:8 From an advisory covering 2 CVEs |
before 0:0.4.10-4.module+el8.9.0+1536+5f79634e | 0:0.4.10-4.module+el8.9.0+1536+5f79634e |
rubygem-pgRocky Linux:8 From an advisory covering 2 CVEs |
before 0:1.0.0-3.module+el8.9.0+1536+5f79634e | 0:1.0.0-3.module+el8.9.0+1536+5f79634e |
rubygem-bundlerSUSE:Linux Enterprise Module for Basesystem 15 SP5 |
before 1.16.1-150000.3.6.1 | 1.16.1-150000.3.6.1 |
rubygem-bundlerSUSE:Linux Enterprise Module for Basesystem 15 SP6 |
before 1.16.1-150000.3.6.1 | 1.16.1-150000.3.6.1 |
rubygem-bundlerSUSE:Linux Enterprise Server 15 SP2-LTSS |
before 1.16.1-150000.3.6.1 | 1.16.1-150000.3.6.1 |
rubygem-bundlerSUSE:Linux Enterprise Server 15 SP3-LTSS |
before 1.16.1-150000.3.6.1 | 1.16.1-150000.3.6.1 |
rubygem-bundlerSUSE:Linux Enterprise Server 15 SP4-LTSS |
before 1.16.1-150000.3.6.1 | 1.16.1-150000.3.6.1 |
rubygem-bundlerSUSE:Linux Enterprise Server for SAP Applications 15 SP2 |
before 1.16.1-150000.3.6.1 | 1.16.1-150000.3.6.1 |
rubygem-bundlerSUSE:Linux Enterprise Server for SAP Applications 15 SP3 |
before 1.16.1-150000.3.6.1 | 1.16.1-150000.3.6.1 |
rubygem-bundlerSUSE:Manager Server 4.3 |
before 1.16.1-150000.3.6.1 | 1.16.1-150000.3.6.1 |
rubygem-bundleropenSUSE:Leap 15.5 |
before 1.16.1-150000.3.6.1 | 1.16.1-150000.3.6.1 |
rubygem-bundlerSUSE:Linux Enterprise Module for Basesystem 15 SP7 From an advisory covering 2 CVEs |
before 2.2.34-150700.21.3.1 | 2.2.34-150700.21.3.1 |
bundlerUbuntu:16.04:LTS |
All versions, plus listed versions 1.10.6-11.10.6-21.11.2-1 |
None known |
bundlerUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 1.15.1-11.16.1-11.16.1-1ubuntu0.1~esm1 |
None known |
bundlerUbuntu:20.04:LTS |
All versions, plus listed versions 1.17.3-32.1.4-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| facts | OSV | |
| aliases | EUVD, NVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-43809 is a medium vulnerability (CVSS 6.7) in Bundler, published December 8, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.91%, the 87th percentile. Fixed in bundler 2.2.33.
References
github.com/rubygems/rubygems/security/advisories/GHSA-fj7f-vq84-fh43
github.com/rubygems/rubygems/pull/5142
github.com/rubygems/rubygems/commit/0fad1ccfe9dd7a3c5b82c1496df3c2b4842870d3
github.com/rubygems/rubygems/commit/a4f2f8ac17e6ce81c689527a8b6f14381060d95f
sonarsource.com/blog/securing-developer-tools-package-managers
lists.debian.org/debian-lts-announce/2025/05/msg00015.html
Show 33 moreShow less
nvd.nist.gov/vuln/detail/CVE-2021-43809
github.com/rubysec/ruby-advisory-db/blob/master/gems/bundler/CVE-2021-43809.yml
github.com/advisories/GHSA-fj7f-vq84-fh43
security.alpinelinux.org/vuln/CVE-2021-43809
access.redhat.com/errata/RHSA-2025:7539
access.redhat.com/security/cve/CVE-2019-19012
access.redhat.com/security/cve/CVE-2021-43809
bugzilla.redhat.com/1802051
bugzilla.redhat.com/2035260
errata.almalinux.org/8/ALSA-2025-7539.html
docs.bell-sw.com/security/cves/CVE-2021-43809
security-tracker.debian.org/tracker/CVE-2021-43809
github.com/rubygems/rubygems
advisories.mageia.org/MGASA-2022-0102.html
bugs.mageia.org/show_bug.cgi?id=30162
blog.sonarsource.com/securing-developer-tools-package-managers
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1480
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1934
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=1802051
bugzilla.redhat.com/show_bug.cgi?id=2035260
security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_7539.json
cve.org/CVERecord?id=CVE-2019-19012
nvd.nist.gov/vuln/detail/CVE-2019-19012
cve.org/CVERecord?id=CVE-2021-43809
errata.rockylinux.org/RLSA-2025:7539
suse.com/support/update/announcement/2024/suse-su-20243873-1
bugzilla.suse.com/1193578
suse.com/security/cve/CVE-2021-43809
suse.com/support/update/announcement/2026/suse-su-20261355-1
bugzilla.suse.com/1185842
suse.com/security/cve/CVE-2020-36327
ubuntu.com/security/CVE-2021-43809
Left out here: 267 versions. The JSON record has them.