Advisory

GHSA-6jvm-3j5h-79f6

Also known as: CVE-2015-2963

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2017-10-24 18:33 UTC
Modified
2024-11-30 05:38 UTC

Affected packages and fixes

paperclip

RubyGems · All systems

Affected

  • introduced 0, fixed 4.2.2 (ecosystem)

Fixed versions

4.2.2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences