Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. ruby-saml
  4. ›
  5. OSVDB-124991

OSVDB-124991: XPath Injection Vulnerability

April 29, 2015

The gem is vulnerable to XPath injection on xml_security.rb. The lack of prepared statements allows for command injection, leading to arbitrary code execution.

References

  • github.com/onelogin/ruby-saml/commit/9853651b96b99653ea8627d757d46bfe62ab6448

Code Behaviors & Features

Detect and mitigate OSVDB-124991 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.0.0

Fixed versions

  • 1.0.0

Solution

Upgrade to version 1.0.0 or above.

Source file

gem/ruby-saml/OSVDB-124991.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:15:01 +0000.