CVE-2019-3881
HIGH7.0EPSS 0.15%Insecure path handling in Bundler
發布日:2021/5/10修改日:2024/2/16
描述
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.
受影響套件(1)
- RubyGems/bundler>= 1.14.0, < 2.1.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
參考連結(7)
- ADVISORYhttps://github.com/advisories/GHSA-g98m-96g9-wfjq
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2019-3881
- PATCHhttps://github.com/rubygems/bundler
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=1651826
- WEBhttps://github.com/rubygems/bundler/issues/6501
- WEBhttps://github.com/rubygems/bundler/pull/7416/commits/65cfebb041c454c246aaf32a177b0243915a9998
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/bundler/CVE-2019-3881.yml