CVE-2017-0889
paperclip: SSRF vulnerability in the Paperclip::UriAdapter class
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA, Ruby Advisory DB. Rated lower by Red Hat (medium).
Description
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| rubygems::GitHub Security Advisory RubyGems | paperclip | 5.2.0 |
| rubygems::Ruby Advisory Database | paperclip | >= 5.2.0 |
References
- https://access.redhat.com/security/cve/CVE-2017-0889
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/paperclip/CVE-2017-0889.yml
- https://github.com/thoughtbot/paperclip
- https://github.com/thoughtbot/paperclip/commit/4ebedfbd11d20d03ed03a1274ed281eee62715d4
- https://github.com/thoughtbot/paperclip/pull/2435
- https://hackerone.com/reports/209430
- https://hackerone.com/reports/713
- https://nvd.nist.gov/vuln/detail/CVE-2017-0889