niedrig3.3
CVE-2017-8418
RuboCop gem Insecure use of /tmp
Auswirkung
RuboCop 0.48.1 and earlier does not use /tmp in safe way, allowing local users to exploit this to tamper with cache files belonging to other users.
Ein Angreifer kann die Lücke mit lokalem Zugriff auf das System ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Bei Erfolg: geringes Risiko, dass Daten oder Systeme verändert werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| rubygems | rubocop | < 0.49.0 | 0.49.0 |
Betroffene Produkte · Rubocop Project
| Produkt | Betroffene Versionen |
|---|---|
| Rubocop | bis einschließlich 0.48.1 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- http://www.openwall.com/lists/oss-security/2017/05/01/14
- https://github.com/bbatsov/rubocop/issues/4336
- https://github.com/advisories/GHSA-wmjf-jpjj-9f3j
- https://nvd.nist.gov/vuln/detail/CVE-2017-8418
- https://github.com/rubocop/rubocop/commit/dcb258fabd5f2624c1ea0e1634763094590c09d7
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rubocop/CVE-2017-8418.yml