synced 9 MIN AGO
01 Record

CVE-2021-43809

Local Code Execution through Argument Injection via dash leading git url parameter in Gemfile

MediumPUBLISHEDCNA: GitHub_M
CNA base score6.7 CVSS v3.xCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

02 Description

Local Code Execution through Argument Injection via dash leading git url parameter in Gemfile

03 Exploitation and scoring

Exploitation
Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
SSVC decision
Not assessed by CISA
EPSS probability
2.90% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 86.5% of scored records. A rank, not a probability.
NVD base score
7.3 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Moderate. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2021-12-08 18:50Z4 YR AGO
Last updated
2025-11-03 19:26Z12 MO AGO
Reserved
2021-11-16
Assigning CNA
GitHub_M
Record state
PUBLISHED
Severity
Medium (CVSS 6.7)
CNA CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Weaknesses
  • CWE-88Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')Base
Data version
5.2
Document digest
0483b30084ef74150efdaabc71415d9d39ed89d994be7ffc2542eda36e28e452

05 Affected products

VendorProductVersionsPlatforms
rubygemsrubygems< 2.2.33—

06 References

07 Fixed in

AlmaLinux 8

  • ruby
    Fixed in 2.5.9-114.module_el8.10.0+3991+5e651d4e
  • ruby-devel
    Fixed in 2.5.9-114.module_el8.10.0+3991+5e651d4e
  • ruby-doc
    Fixed in 2.5.9-114.module_el8.10.0+3991+5e651d4e
  • ruby-irb
    Fixed in 2.5.9-114.module_el8.10.0+3991+5e651d4e
  • ruby-libs
    Fixed in 2.5.9-114.module_el8.10.0+3991+5e651d4e
  • rubygem-abrt
    Fixed in 0.3.0-4.module_el8.5.0+2625+ec418553
  • rubygem-abrt-doc
    Fixed in 0.3.0-4.module_el8.10.0+3871+342e2c2f
  • rubygem-bigdecimal
    Fixed in 1.3.4-114.module_el8.10.0+3991+5e651d4e
  • rubygem-bson
    Fixed

    A version is affected if any line below covers it.

    • Affected before 4.3.0-2.module_el8.5.0+259+8cec6917
    • Affected before 4.3.0-2.module_el8.5.0+2625+ec418553
    • Affected before 4.3.0-2.module_el8.6.0+3170+4b08f9d4
  • rubygem-bson-doc
    Fixed in 4.3.0-2.module_el8.5.0+2625+ec418553
  • rubygem-bundler
    Fixed in 1.16.1-5.module_el8.10.0+3991+5e651d4e
  • rubygem-bundler-doc
    Fixed in 1.16.1-5.module_el8.10.0+3991+5e651d4e
  • rubygem-did_you_mean
    Fixed in 1.2.0-114.module_el8.10.0+3991+5e651d4e
  • rubygem-io-console
    Fixed in 0.4.6-114.module_el8.10.0+3991+5e651d4e
  • rubygem-json
    Fixed in 2.1.0-114.module_el8.10.0+3991+5e651d4e
  • rubygem-minitest
    Fixed in 5.10.3-114.module_el8.10.0+3991+5e651d4e
  • rubygem-mongo
    Fixed in 2.5.1-2.module_el8.5.0+2625+ec418553
  • rubygem-mongo-doc
    Fixed in 2.5.1-2.module_el8.5.0+2625+ec418553
  • rubygem-mysql2
    Fixed

    A version is affected if any line below covers it.

    • Affected before 0.4.10-4.module_el8.5.0+259+8cec6917
    • Affected before 0.4.10-4.module_el8.5.0+2625+ec418553
    • Affected before 0.4.10-4.module_el8.6.0+3170+4b08f9d4
  • rubygem-mysql2-doc
    Fixed in 0.4.10-4.module_el8.5.0+2625+ec418553
  • rubygem-net-telnet
    Fixed in 0.1.1-114.module_el8.10.0+3991+5e651d4e
  • rubygem-openssl
    Fixed in 2.1.2-114.module_el8.10.0+3991+5e651d4e
  • rubygem-pg
    Fixed in 1.0.0-3.module_el8.9.0+3635+c6f99506
  • rubygem-pg-doc
    Fixed in 1.0.0-3.module_el8.9.0+3635+c6f99506
  • rubygem-power_assert
    Fixed in 1.1.1-114.module_el8.10.0+3991+5e651d4e
  • rubygem-psych
    Fixed in 3.0.2-114.module_el8.10.0+3991+5e651d4e
  • rubygem-rake
    Fixed in 12.3.3-114.module_el8.10.0+3991+5e651d4e
  • rubygem-rdoc
    Fixed in 6.0.1.1-114.module_el8.10.0+3991+5e651d4e
  • rubygem-test-unit
    Fixed in 3.2.7-114.module_el8.10.0+3991+5e651d4e
  • rubygem-xmlrpc
    Fixed in 0.3.0-114.module_el8.10.0+3991+5e651d4e
  • rubygems
    Fixed in 2.7.6.3-114.module_el8.10.0+3991+5e651d4e
  • rubygems-devel
    Fixed in 2.7.6.3-114.module_el8.10.0+3991+5e651d4e

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Arch Linux

  • ruby-bundler
    No fix yet

Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.

CloudLinux 8

  • ruby
    Fixed in 2.5.9-114.module_el8.10.0+3991+5e651d4e
  • ruby-devel
    Fixed in 2.5.9-114.module_el8.10.0+3991+5e651d4e
  • ruby-doc
    Fixed in 2.5.9-114.module_el8.10.0+3991+5e651d4e
  • ruby-irb
    Fixed in 2.5.9-114.module_el8.10.0+3991+5e651d4e
  • ruby-libs
    Fixed in 2.5.9-114.module_el8.10.0+3991+5e651d4e
  • rubygem-abrt
    Fixed in 0.3.0-4.module_el8.5.0+2625+ec418553
  • rubygem-abrt-doc
    Fixed in 0.3.0-4.module_el8.10.0+3871+342e2c2f
  • rubygem-bigdecimal
    Fixed in 1.3.4-114.module_el8.10.0+3991+5e651d4e
  • rubygem-bson
    Fixed

    A version is affected if any line below covers it.

    • Affected before 4.3.0-2.module_el8.5.0+259+8cec6917
    • Affected before 4.3.0-2.module_el8.5.0+2625+ec418553
    • Affected before 4.3.0-2.module_el8.6.0+3170+4b08f9d4
  • rubygem-bson-doc
    Fixed in 4.3.0-2.module_el8.5.0+2625+ec418553
  • rubygem-bundler
    Fixed in 1.16.1-5.module_el8.10.0+3991+5e651d4e
  • rubygem-bundler-doc
    Fixed in 1.16.1-5.module_el8.10.0+3991+5e651d4e
  • rubygem-did_you_mean
    Fixed in 1.2.0-114.module_el8.10.0+3991+5e651d4e
  • rubygem-io-console
    Fixed in 0.4.6-114.module_el8.10.0+3991+5e651d4e
  • rubygem-json
    Fixed in 2.1.0-114.module_el8.10.0+3991+5e651d4e
  • rubygem-minitest
    Fixed in 5.10.3-114.module_el8.10.0+3991+5e651d4e
  • rubygem-mongo
    Fixed in 2.5.1-2.module_el8.5.0+2625+ec418553
  • rubygem-mongo-doc
    Fixed in 2.5.1-2.module_el8.5.0+2625+ec418553
  • rubygem-mysql2
    Fixed

    A version is affected if any line below covers it.

    • Affected before 0.4.10-4.module_el8.5.0+259+8cec6917
    • Affected before 0.4.10-4.module_el8.5.0+2625+ec418553
    • Affected before 0.4.10-4.module_el8.6.0+3170+4b08f9d4
  • rubygem-mysql2-doc
    Fixed in 0.4.10-4.module_el8.5.0+2625+ec418553
  • rubygem-net-telnet
    Fixed in 0.1.1-114.module_el8.10.0+3991+5e651d4e
  • rubygem-openssl
    Fixed in 2.1.2-114.module_el8.10.0+3991+5e651d4e
  • rubygem-pg
    Fixed in 1.0.0-3.module_el8.9.0+3635+c6f99506
  • rubygem-pg-doc
    Fixed in 1.0.0-3.module_el8.9.0+3635+c6f99506
  • rubygem-power_assert
    Fixed in 1.1.1-114.module_el8.10.0+3991+5e651d4e
  • rubygem-psych
    Fixed in 3.0.2-114.module_el8.10.0+3991+5e651d4e
  • rubygem-rake
    Fixed in 12.3.3-114.module_el8.10.0+3991+5e651d4e
  • rubygem-rdoc
    Fixed in 6.0.1.1-114.module_el8.10.0+3991+5e651d4e
  • rubygem-test-unit
    Fixed in 3.2.7-114.module_el8.10.0+3991+5e651d4e
  • rubygem-xmlrpc
    Fixed in 0.3.0-114.module_el8.10.0+3991+5e651d4e
  • rubygems
    Fixed in 2.7.6.3-114.module_el8.10.0+3991+5e651d4e
  • rubygems-devel
    Fixed in 2.7.6.3-114.module_el8.10.0+3991+5e651d4e

Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Debian 12

  • rubygems
    Fixed in 3.3.5-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • rubygems
    Fixed in 3.3.5-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • rubygems
    Fixed in 3.3.5-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 16.04 LTS

  • bundler
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 20.04 LTS

  • bundler
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 18.04 LTS

  • bundler
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.