logo

CVE-2015-2963 paperclip

Package

Manager: gem
Name: paperclip
Vulnerable Version: >=0 <4.2.2

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N/E:H/RL:U/RC:R

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00481 pctl0.64169

Details

paperclip Cross-site Scripting vulnerability 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.

Metadata

Created: 2017-10-24T18:33:36Z
Modified: 2023-01-23T20:43:16Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-6jvm-3j5h-79f6/GHSA-6jvm-3j5h-79f6.json
CWE IDs: ["CWE-79"]
Alternative ID: GHSA-6jvm-3j5h-79f6
Finding: F425
Auto approve: 1