GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

GSD-2017-8418

Vulnerability from gsd - Updated: 2017-05-01 00:00
Details
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.
Aliases

{
  "GSD": {
    "alias": "CVE-2017-8418",
    "description": "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.",
    "id": "GSD-2017-8418",
    "references": [
      "https://www.suse.com/security/cve/CVE-2017-8418.html"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "affected": [
        {
          "package": {
            "ecosystem": "RubyGems",
            "name": "rubocop",
            "purl": "pkg:gem/rubocop"
          }
        }
      ],
      "aliases": [
        "CVE-2017-8418",
        "GHSA-wmjf-jpjj-9f3j"
      ],
      "details": "RuboCop 0.48.1 and earlier does not use /tmp in safe way, allowing local\nusers to exploit this to tamper with cache files belonging to other users.\n",
      "id": "GSD-2017-8418",
      "modified": "2017-05-01T00:00:00.000Z",
      "published": "2017-05-01T00:00:00.000Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/bbatsov/rubocop/issues/4336"
        },
        {
          "type": "WEB",
          "url": "http://www.openwall.com/lists/oss-security/2017/05/01/14"
        }
      ],
      "schema_version": "1.4.0",
      "severity": [
        {
          "score": 2.1,
          "type": "CVSS_V2"
        },
        {
          "score": 3.3,
          "type": "CVSS_V3"
        }
      ],
      "summary": "RuboCop gem Insecure use of /tmp"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2017-8418",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "n/a",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "n/a"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "n/a"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "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."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "http://www.openwall.com/lists/oss-security/2017/05/01/14",
            "refsource": "MISC",
            "url": "http://www.openwall.com/lists/oss-security/2017/05/01/14"
          },
          {
            "name": "https://github.com/bbatsov/rubocop/issues/4336",
            "refsource": "MISC",
            "url": "https://github.com/bbatsov/rubocop/issues/4336"
          }
        ]
      }
    },
    "github.com/rubysec/ruby-advisory-db": {
      "cve": "2017-8418",
      "cvss_v2": 2.1,
      "cvss_v3": 3.3,
      "date": "2017-05-01",
      "description": "RuboCop 0.48.1 and earlier does not use /tmp in safe way, allowing local\nusers to exploit this to tamper with cache files belonging to other users.\n",
      "gem": "rubocop",
      "ghsa": "wmjf-jpjj-9f3j",
      "patched_versions": [
        "\u003e= 0.49.0"
      ],
      "related": {
        "url": [
          "http://www.openwall.com/lists/oss-security/2017/05/01/14"
        ]
      },
      "title": "RuboCop gem Insecure use of /tmp",
      "url": "https://github.com/bbatsov/rubocop/issues/4336"
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c=0.48.1",
          "affected_versions": "All versions up to 0.48.1",
          "credit": "Jakub Wilk",
          "cvss_v2": "AV:L/AC:L/Au:N/C:N/I:P/A:N",
          "cvss_v3": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-668",
            "CWE-937"
          ],
          "date": "2019-10-03",
          "description": "RuboCop does not use `/tmp` in safe way, allowing local users to exploit this to tamper with cache files belonging to other users.",
          "fixed_versions": [
            "0.49.0"
          ],
          "identifier": "CVE-2017-8418",
          "identifiers": [
            "CVE-2017-8418"
          ],
          "not_impacted": "All versions after 0.48.1",
          "package_slug": "gem/rubocop",
          "pubdate": "2017-05-02",
          "solution": "Upgrade to version 0.49.0 or above.",
          "title": "Insecure use of /tmp",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2017-8418",
            "https://github.com/bbatsov/rubocop/commit/dcb258fabd5f2624c1ea0e1634763094590c09d7",
            "https://github.com/bbatsov/rubocop/issues/4336"
          ],
          "uuid": "b2ebc266-6756-4f79-b290-55cd015f8243"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:rubocop_project:rubocop:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndIncluding": "0.48.1",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2017-8418"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "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."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-668"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/bbatsov/rubocop/issues/4336",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Third Party Advisory"
              ],
              "url": "https://github.com/bbatsov/rubocop/issues/4336"
            },
            {
              "name": "http://www.openwall.com/lists/oss-security/2017/05/01/14",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Mailing List",
                "Third Party Advisory"
              ],
              "url": "http://www.openwall.com/lists/oss-security/2017/05/01/14"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "acInsufInfo": true,
          "cvssV2": {
            "accessComplexity": "LOW",
            "accessVector": "LOCAL",
            "authentication": "NONE",
            "availabilityImpact": "NONE",
            "baseScore": 2.1,
            "confidentialityImpact": "NONE",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:L/AC:L/Au:N/C:N/I:P/A:N",
            "version": "2.0"
          },
          "exploitabilityScore": 3.9,
          "impactScore": 2.9,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "LOW",
          "userInteractionRequired": false
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "NONE",
            "baseScore": 3.3,
            "baseSeverity": "LOW",
            "confidentialityImpact": "NONE",
            "integrityImpact": "LOW",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N",
            "version": "3.0"
          },
          "exploitabilityScore": 1.8,
          "impactScore": 1.4
        }
      },
      "lastModifiedDate": "2019-10-03T00:03Z",
      "publishedDate": "2017-05-02T14:59Z"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…