CriticalGHSA-5jcf-c5rg-rmm8CVE-2017-0889

paperclip Server-Side Request Forgery vulnerability

Published 22 Jan 2018 · Updated 8 Nov 2023

Is your project on an affected paperclip?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

paperclipRubyGems
Affected
>=3.1.4 <5.2.0
Fixed in
5.2.0
Update to the fixed version for your release line, for example:bundle update --conservative paperclip # Gemfile: '>= 5.2.0'

Details

Paperclip ruby gem version 3.1.4 and later suffers from a Server-SIde Request Forgery (SSRF) vulnerability in the Paperclip::UriAdapter class. Attackers may be able to access information about internal network resources.

Is GHSA-5jcf-c5rg-rmm8 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected paperclip, and gives you the command that fixes it.

More advisories for paperclip

  • MediumCVE-2015-2963paperclip Cross-site Scripting vulnerability · 24 Oct 2017
paperclip security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.