CVE-2019-8320
CVE-2019-8320
Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.
A Directory Traversal issue was discovered in RubyGems 2.7.6 and later through 3.0.2. Before making new directories or touching files (which now include path-checking code for symlinks), it would delete the target destination. If that destination was hidden behind a symlink, a malicious gem could delete arbitrary files on the user's machine, presuming the attacker could guess at paths. Given how frequently gem is run as sudo, and how predictable paths are on modern systems (/tmp, /usr, etc.), this could likely lead to data loss or an unusable system.
CVSS 7.4 · Hoch · EPSS 4,2% · Korrektur verfügbar
- Veröffentlicht
- Aktualisiert
Technologie-Stack: system
Betroffene Produkte und Versionen
n/a
- Softwareversionen
- n/a: Betroffen
Keine Korrektur veröffentlicht
jruby Debian:12
- Betroffene Versionsbereiche
- ECOSYSTEM: < 9.1.17.0-3
Auf 9.1.17.0-3 aktualisieren
jruby Debian:13
- Betroffene Versionsbereiche
- ECOSYSTEM: < 9.1.17.0-3
Auf 9.1.17.0-3 aktualisieren
jruby Debian:14
- Betroffene Versionsbereiche
- ECOSYSTEM: < 9.1.17.0-3
Auf 9.1.17.0-3 aktualisieren
rubygems Debian:12
- Betroffene Versionsbereiche
- ECOSYSTEM: < 3.2.0~rc.1-1
Auf 3.2.0~rc.1-1 aktualisieren
rubygems Debian:13
- Betroffene Versionsbereiche
- ECOSYSTEM: < 3.2.0~rc.1-1
Auf 3.2.0~rc.1-1 aktualisieren
rubygems Debian:14
- Betroffene Versionsbereiche
- ECOSYSTEM: < 3.2.0~rc.1-1
Auf 3.2.0~rc.1-1 aktualisieren
ruby1.9.1 Ubuntu:14.04:LTS
- Softwareversionen
- 1.9.3.194-8.1ubuntu2
- 1.9.3.448-1ubuntu1
- 1.9.3.448-1ubuntu2
- 1.9.3.484-1ubuntu1
- 1.9.3.484-1ubuntu2
- 1.9.3.484-2ubuntu1
- 1.9.3.484-2ubuntu1.1
- 1.9.3.484-2ubuntu1.2
- 1.9.3.484-2ubuntu1.3
- 1.9.3.484-2ubuntu1.5
- 1.9.3.484-2ubuntu1.6
- 1.9.3.484-2ubuntu1.7
- 1.9.3.484-2ubuntu1.8
- 1.9.3.484-2ubuntu1.10
- 1.9.3.484-2ubuntu1.11
- 1.9.3.484-2ubuntu1.12
- 1.9.3.484-2ubuntu1.13
- Betroffene Versionsbereiche
- ECOSYSTEM: < 1.9.3.484-2ubuntu1.14
Auf 1.9.3.484-2ubuntu1.14 aktualisieren
ruby2.0 Ubuntu:14.04:LTS
- Softwareversionen
- 2.0.0.299-2
- 2.0.0.343-1
- 2.0.0.343-1ubuntu1
- 2.0.0.353-1
- 2.0.0.353-1ubuntu1
- 2.0.0.484-1ubuntu1
- 2.0.0.484-1ubuntu2
- 2.0.0.484-1ubuntu2.1
- 2.0.0.484-1ubuntu2.2
- 2.0.0.484-1ubuntu2.4
- 2.0.0.484-1ubuntu2.5
- 2.0.0.484-1ubuntu2.6
- 2.0.0.484-1ubuntu2.8
- 2.0.0.484-1ubuntu2.9
- 2.0.0.484-1ubuntu2.10
- 2.0.0.484-1ubuntu2.11
- Betroffene Versionsbereiche
- ECOSYSTEM: < 2.0.0.484-1ubuntu2.13
Auf 2.0.0.484-1ubuntu2.13 aktualisieren
ruby2.3 Ubuntu:16.04:LTS
- Softwareversionen
- 2.3.0-1
- 2.3.0-2
- 2.3.0-4ubuntu2
- 2.3.0-4ubuntu3
- 2.3.0-5ubuntu1
- 2.3.1-2~16.04
- 2.3.1-2~16.04.2
- 2.3.1-2~16.04.4
- 2.3.1-2~16.04.5
- 2.3.1-2~16.04.6
- 2.3.1-2~16.04.7
- 2.3.1-2~16.04.9
- 2.3.1-2~16.04.10
- 2.3.1-2~16.04.11
- Betroffene Versionsbereiche
- ECOSYSTEM: < 2.3.1-2~16.04.12
Auf 2.3.1-2~16.04.12 aktualisieren
ruby2.5 Ubuntu:18.04:LTS
- Softwareversionen
- 2.5.0~preview1-1ubuntu2
- 2.5.0-4ubuntu1
- 2.5.0-4ubuntu4
- 2.5.0-5ubuntu1
- 2.5.0-6ubuntu1
- 2.5.1-1ubuntu1
- 2.5.1-1ubuntu1.1
- Betroffene Versionsbereiche
- ECOSYSTEM: < 2.5.1-1ubuntu1.2
Auf 2.5.1-1ubuntu1.2 aktualisieren
jruby Ubuntu:18.04:LTS
- Softwareversionen
- 9.1.13.0-1
- 9.1.17.0-1~18.04
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
Originalquellen
- https://hackerone.com/reports/317321
- https://blog.rubygems.org/2019/03/05/security-advisories-2019-03.html
- https://access.redhat.com/errata/RHSA-2019:1429
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.html
- https://lists.debian.org/debian-lts-announce/2020/08/msg00027.html
- https://nvd.nist.gov/vuln/detail/CVE-2019-8320