Skip to content
Noroxi
NVD / CVE Program· CNA redhat

CVE-2019-3881: Bundler prior to 2.1.0 uses a predictable path in /tmp/, created with insecure permissions as a storage location for gems, if locations unde

Noroxi assessment

Priority: Monitor (action score 31/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 0.52% (FIRST EPSS).
  • Someone with local access to the system can trigger it. No account or password is required. A user must open a link or visit a page. No special conditions are required; it is repeatable.
  • Fixed version: rubygem-abrt (AlmaLinux:8) 0.3.0-4.module_el8.5.0+259+8cec6917, 0.3.0-4.module_el8.5.0+2623+08a8ba32; rubygem-abrt-doc (AlmaLinux:8) 0.3.0-4.module_el8.5.0+259+8cec6917, 0.3.0-4.module_el8.5.0+2623+08a8ba32; rubygem-bson (AlmaLinux:8) 4.5.0-1.module_el8.5.0+2623+08a8ba32, 4.5.0-1.module_el8.5.0+250+ba22dbf7.

Low priority for now. Upgrade to rubygem-abrt (AlmaLinux:8) 0.3.0-4.module_el8.5.0+259+8cec6917, 0.3.0-4.module_el8.5.0+2623+08a8ba32; rubygem-abrt-doc (AlmaLinux:8) 0.3.0-4.module_el8.5.0+259+8cec6917, 0.3.0-4.module_el8.5.0+2623+08a8ba32; rubygem-bson (AlmaLinux:8) 4.5.0-1.module_el8.5.0+2623+08a8ba32, 4.5.0-1.module_el8.5.0+250+ba22dbf7 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

Bundler prior to 2.1.0 uses a predictable path in /tmp/, created with insecure permissions as a storage location for gems, if locations under the user's home directory are not available. If Bundler is used in a scenario where the user does not have a writable home directory, an attacker could place malicious code in this directory that would be later loaded and executed.

HighCVSS 7.8 · v3.1—No exploit Fix available
Published
Sep 4, 2020
Updated
Jun 16, 2026
EPSS
0.5% · 44th percentile

Report tools

JSON

Action score

31

Monitor

Low priority for now.

CVSS
31 / 40 · 7.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.5%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2019-3881

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
bundlerbundler

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • bundler bundlerbefore 2.1.0

Versions reported by the vendor

Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.

  • n/a rubygem-bundler

    • bundler versions before 2.1.0affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8rubygem-abrtbefore 0.3.0-4.module_el8.5.0+259+8cec69170.3.0-4.module_el8.5.0+259+8cec6917
AlmaLinux:8rubygem-abrtbefore 0.3.0-4.module_el8.5.0+2623+08a8ba320.3.0-4.module_el8.5.0+2623+08a8ba32
AlmaLinux:8rubygem-abrt-docbefore 0.3.0-4.module_el8.5.0+259+8cec69170.3.0-4.module_el8.5.0+259+8cec6917
AlmaLinux:8rubygem-abrt-docbefore 0.3.0-4.module_el8.5.0+2623+08a8ba320.3.0-4.module_el8.5.0+2623+08a8ba32
AlmaLinux:8rubygem-bsonbefore 4.5.0-1.module_el8.5.0+2623+08a8ba324.5.0-1.module_el8.5.0+2623+08a8ba32
AlmaLinux:8rubygem-bsonbefore 4.5.0-1.module_el8.5.0+250+ba22dbf74.5.0-1.module_el8.5.0+250+ba22dbf7
AlmaLinux:8rubygem-bson-docbefore 4.5.0-1.module_el8.5.0+250+ba22dbf74.5.0-1.module_el8.5.0+250+ba22dbf7
AlmaLinux:8rubygem-bson-docbefore 4.5.0-1.module_el8.5.0+2623+08a8ba324.5.0-1.module_el8.5.0+2623+08a8ba32
AlmaLinux:8rubygem-mongobefore 2.8.0-1.module_el8.5.0+250+ba22dbf72.8.0-1.module_el8.5.0+250+ba22dbf7
AlmaLinux:8rubygem-mongobefore 2.8.0-1.module_el8.5.0+2623+08a8ba322.8.0-1.module_el8.5.0+2623+08a8ba32
AlmaLinux:8rubygem-mongo-docbefore 2.8.0-1.module_el8.5.0+2623+08a8ba322.8.0-1.module_el8.5.0+2623+08a8ba32
AlmaLinux:8rubygem-mongo-docbefore 2.8.0-1.module_el8.5.0+250+ba22dbf72.8.0-1.module_el8.5.0+250+ba22dbf7
AlmaLinux:8rubygem-mysql2before 0.5.2-1.module_el8.5.0+2623+08a8ba320.5.2-1.module_el8.5.0+2623+08a8ba32
AlmaLinux:8rubygem-mysql2before 0.5.2-1.module_el8.5.0+250+ba22dbf70.5.2-1.module_el8.5.0+250+ba22dbf7
AlmaLinux:8rubygem-mysql2-docbefore 0.5.2-1.module_el8.5.0+2623+08a8ba320.5.2-1.module_el8.5.0+2623+08a8ba32
AlmaLinux:8rubygem-mysql2-docbefore 0.5.2-1.module_el8.5.0+250+ba22dbf70.5.2-1.module_el8.5.0+250+ba22dbf7
AlmaLinux:8rubygem-pgbefore 1.1.4-1.module_el8.5.0+2623+08a8ba321.1.4-1.module_el8.5.0+2623+08a8ba32
AlmaLinux:8rubygem-pgbefore 1.1.4-1.module_el8.5.0+250+ba22dbf71.1.4-1.module_el8.5.0+250+ba22dbf7
AlmaLinux:8rubygem-pg-docbefore 1.1.4-1.module_el8.5.0+250+ba22dbf71.1.4-1.module_el8.5.0+250+ba22dbf7
AlmaLinux:8rubygem-pg-docbefore 1.1.4-1.module_el8.5.0+2623+08a8ba321.1.4-1.module_el8.5.0+2623+08a8ba32
openSUSE:Leap 15.1rubygem-bundlerbefore 1.16.1-lp151.3.3.11.16.1-lp151.3.3.1
openSUSE:Leap 15.2rubygem-bundlerbefore 1.16.1-lp152.4.3.11.16.1-lp152.4.3.1
Red Hat:enterprise_linux:8::appstreamrubybefore 0:2.6.7-107.module+el8.4.0+10830+bbd85cce0:2.6.7-107.module+el8.4.0+10830+bbd85cce
Red Hat:enterprise_linux:8::appstreamruby-debuginfobefore 0:2.6.7-107.module+el8.4.0+10830+bbd85cce0:2.6.7-107.module+el8.4.0+10830+bbd85cce

+81

Other highest-scoring records for the same primary product.

  • CVE-2016-7954Bundler 1.x might allow remote attackers to inject arbitrary Ruby code into an application by leveraging a gem name collision on a secondary
    42Plan
  • CVE-2020-36327Bundler 1.16.0 through 2.2.9 and 2.2.11 through 2.2.16 sometimes chooses a dependency source based on the highest gem version number, which
    37Monitor
  • CVE-2021-43809Local Code Execution through Argument Injection via dash leading git url parameter in Gemfile
    30Monitor

Published before and after this one in the same product

  • ← EarlierCVE-2013-0334Oct 31, 2014 · Bundler before 1.7, when multiple top-level source lines are used, allows remote attackers to install arbitrary gems by creating a gem with
    21Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
almalinux:rubygem-abrt0.3.0-4.module_el8.5.0+259+8cec6917 · AlmaLinux:8Package registry (OSV)
almalinux:rubygem-abrt-doc0.3.0-4.module_el8.5.0+259+8cec6917 · AlmaLinux:8Package registry (OSV)
almalinux:rubygem-bson4.5.0-1.module_el8.5.0+2623+08a8ba32 · AlmaLinux:8Package registry (OSV)
almalinux:rubygem-bson-doc4.5.0-1.module_el8.5.0+250+ba22dbf7 · AlmaLinux:8Package registry (OSV)
almalinux:rubygem-mongo2.8.0-1.module_el8.5.0+250+ba22dbf7 · AlmaLinux:8Package registry (OSV)
almalinux:rubygem-mongo-doc2.8.0-1.module_el8.5.0+250+ba22dbf7 · AlmaLinux:8Package registry (OSV)
almalinux:rubygem-mysql20.5.2-1.module_el8.5.0+250+ba22dbf7 · AlmaLinux:8Package registry (OSV)
almalinux:rubygem-mysql2-doc0.5.2-1.module_el8.5.0+250+ba22dbf7 · AlmaLinux:8Package registry (OSV)
almalinux:rubygem-pg1.1.4-1.module_el8.5.0+250+ba22dbf7 · AlmaLinux:8Package registry (OSV)
almalinux:rubygem-pg-doc1.1.4-1.module_el8.5.0+2623+08a8ba32 · AlmaLinux:8Package registry (OSV)
opensuse:rubygem-bundler1.16.1-lp151.3.3.1 · openSUSE:Leap 15.1Package registry (OSV)
red hat:rh-ruby26-ruby0:2.6.7-119.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-ruby26-ruby-debuginfo0:2.6.7-119.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-ruby26-ruby-devel0:2.6.7-119.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-ruby26-ruby-doc0:2.6.7-119.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-ruby26-ruby-libs0:2.6.7-119.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-ruby26-rubygem-bigdecimal0:1.4.1-119.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-ruby26-rubygem-bundler0:1.17.2-119.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-ruby26-rubygem-did_you_mean0:1.3.0-119.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-ruby26-rubygem-io-console0:0.4.7-119.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-ruby26-rubygem-irb0:1.0.0-119.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-ruby26-rubygem-json0:2.1.0-119.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-ruby26-rubygem-minitest0:5.11.3-119.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
rocky linux:ruby0:2.6.7-107.module+el8.4.0+593+8d7f9f0c · Rocky Linux:8Package registry (OSV)
rocky linux:rubygem-abrt0:0.3.0-4.module+el8.5.0+738+032c9c02 · Rocky Linux:8Package registry (OSV)
rocky linux:rubygem-bson0:4.5.0-1.module+el8.4.0+593+8d7f9f0c · Rocky Linux:8Package registry (OSV)
rocky linux:rubygem-mongo0:2.8.0-1.module+el8.4.0+593+8d7f9f0c · Rocky Linux:8Package registry (OSV)
rocky linux:rubygem-mysql20:0.5.2-1.module+el8.5.0+738+032c9c02 · Rocky Linux:8Package registry (OSV)
rocky linux:rubygem-pg0:1.1.4-1.module+el8.5.0+738+032c9c02 · Rocky Linux:8Package registry (OSV)
RubyGems:bundler2.1.0Package registry (OSV)

+1

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • No account or password is required.
  • A user must open a link or visit a page.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

nvd-primary

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

Vendor advisories and official records. Exploit/PoC links are deliberately left out.

All records