CVE-2017-0889 · hackerone
CVE-2017-0889
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.
Published 2017-11-13, last changed 2026-06-17. Weakness: CWE-918.
How to fix
Upgrade to a fixed version: paperclip 5.2.0 (RubyGems). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in thoughtbot/paperclip by pull request #2435, 4ebedfbd11. Functions changed by the fix: register, extract_target, cache_current_values, initialize, read, unregister, filename_from_content_disposition, copy_to_tempfile. Regression tests: spec/paperclip/io_adapters/data_uri_adapter_spec.rb, spec/paperclip/io_adapters/http_url_proxy_adapter_spec.rb, spec/paperclip/io_adapters/uri_adapter_spec.rb, spec/paperclip/storage/s3_spec.rb. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2017-11-13 | Published |
| 2018-01-22 | Package advisory GHSA-5jcf-c5rg-rmm8 |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 3.05% |
| 2026-12-02 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-5jcf-c5rg-rmm8 | paperclip (RubyGems) | 5.2.0 |
Also known as: GHSA-5jcf-c5rg-rmm8
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2015-2963 | 2015-07-10 | 4.3 | same package: paperclip (RubyGems) |
| CVE-2026-93023 | 2026-12-03 | 8.2 | same weakness (CWE-918) from the same CNA (hackerone) |
| CVE-2026-93020 | 2026-12-03 | 5.1 | same weakness (CWE-918) from the same CNA (hackerone) |
| CVE-2026-87905 | 2026-12-03 | 8.5 | same weakness (CWE-918) from the same CNA (hackerone) |
| CVE-2026-87897 | 2026-10-27 | 4.6 | same weakness (CWE-918) from the same CNA (hackerone) |
| CVE-2026-77164 | 2026-09-18 | 6.2 | same weakness (CWE-918) from the same CNA (hackerone) |
| CVE-2026-55115 | 2026-07-02 | 9.9 | same weakness (CWE-918) from the same CNA (hackerone) |
| CVE-2026-55113 | 2026-07-02 | 7.5 | same weakness (CWE-918) from the same CNA (hackerone) |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2017-0889, or call /api/v1/vulnerabilities/CVE-2017-0889. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.