ghsa-6jvm-3j5h-79f6
Vulnerability from github
Published
2017-10-24 18:33
Modified
2023-01-23 20:43
Summary
paperclip Cross-site Scripting vulnerability
Details

The thoughtbot paperclip gem before 4.2.2 for Ruby does not consider the content-type value during media-type validation, which allows remote attackers to upload HTML documents and conduct cross-site scripting (XSS) attacks via a spoofed value, as demonstrated by image/jpeg.

Show details on source website


{
  "affected": [
    {
      "package": {
        "ecosystem": "RubyGems",
        "name": "paperclip"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.2.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2015-2963"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:19:37Z",
    "nvd_published_at": null,
    "severity": "MODERATE"
  },
  "details": "The thoughtbot paperclip gem before 4.2.2 for Ruby does not consider the content-type value during media-type validation, which allows remote attackers to upload HTML documents and conduct cross-site scripting (XSS) attacks via a spoofed value, as demonstrated by image/jpeg.",
  "id": "GHSA-6jvm-3j5h-79f6",
  "modified": "2023-01-23T20:43:16Z",
  "published": "2017-10-24T18:33:36Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2015-2963"
    },
    {
      "type": "WEB",
      "url": "https://github.com/thoughtbot/paperclip/commit/9aee4112f36058cd28d5fe4a006d6981bd1eda57"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/thoughtbot/paperclip"
    },
    {
      "type": "WEB",
      "url": "https://robots.thoughtbot.com/paperclip-security-release"
    },
    {
      "type": "WEB",
      "url": "https://web.archive.org/web/20200228084907/http://www.securityfocus.com/bid/75304"
    },
    {
      "type": "WEB",
      "url": "http://jvn.jp/en/jp/JVN83881261/index.html"
    },
    {
      "type": "WEB",
      "url": "http://jvndb.jvn.jp/jvndb/JVNDB-2015-000088"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2015/06/19/3"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [],
  "summary": "paperclip Cross-site Scripting vulnerability"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…