GHSA-6jvm-3j5h-79f6

    Dashboard / Vulnerabilities / GHSA-6jvm-3j5h-79f6

    GHSA-6jvm-3j5h-79f6

    Published: 24 Oct 2017Last Modified: 30 Nov 2024
    Aliases:

    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.

    Affected packages

    Package

    Name: paperclip

    Purl: pkg:gem/paperclip

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -4.2.2

    Affected versions

    2.1.0
    2.1.2
    2.1.5

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High