Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. refile
  4. ›
  5. OSVDB-120857

OSVDB-120857: Remote code execution

April 15, 2015

The package refile contains a flaw that is triggered when input is not sanitized when handling the remote_image_url field in a form, where image is the name of the attachment. This may allow a remote attacker to execute arbitrary shell commands.

References

  • groups.google.com/forum/

Code Behaviors & Features

Detect and mitigate OSVDB-120857 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 starting from 0.5.0 before 0.5.4

Fixed versions

  • 0.5.4

Solution

Disable the feature entirely by not permitting the `remote_{attachment}_url` parameter to be passed to the model or upgrade to the latest version.

Source file

gem/refile/OSVDB-120857.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:51 +0000.