SecurityContext

CVE-2019-3881: Bundler - Insecure Temporary Path

  • Cve: CVE-2019-3881
  • Name: Bundler - Insecure Temporary Path
  • Description: 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.
  • Impact: Attackers can place and execute malicious code, potentially leading to remote code execution or privilege escalation.
  • Remediation: Update to Bundler 2.1.0 or later.
  • Vulnerability type: insecure_deserialization
  • Vulnerability impact: remote_code_execution, privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.00529
  • Epss percentile: 0.4563
  • Assignee: [email protected]
  • Published at: 2020-09-04T12:15:10Z
  • Age in days: 2272
  • Modified at: 2026-06-17T02:35:47Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-3881
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-427Uncontrolled Search Path Element

References

UrlSourceTags
https://bugzilla.redhat.com/show_bug.cgi?id=1651826nvdIssue Tracking, Patch, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
bundler:bundler< 2.1.0nonvd/v1/products/bundler/bundler

Projects

RepositoryLink kindsIndexedUrl
rubygems/bundlerissues, package, pullyes/v1/repositories/rubygems/bundler

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts