Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. paperclip
  4. ›
  5. CVE-2015-2963

CVE-2015-2963: Content type spoofing vulnerability

July 10, 2015 (updated December 2, 2016)

There is an issue where if an HTML file is uploaded with a .html extension, but the content type is listed as being image/jpeg, this will bypass a validation checking for images. But it will also pass the spoof check, because a file named .html and containing actual HTML passes the spoof check.

References

  • robots.thoughtbot.com/paperclip-security-release

Code Behaviors & Features

Detect and mitigate CVE-2015-2963 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 4.2.2

Fixed versions

  • 4.2.2

Solution

Upgrade to version 4.2.2 or above.

Impact 4.3 MEDIUM

AV:N/AC:M/Au:N/C:N/I:P/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

gem/paperclip/CVE-2015-2963.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:40 +0000.