Skip to content
OpenAdvisories
Critical · 9.8 CVE-2015-20108 EUVD-2023-1617GHSA-r364-2pj4-pf7f

ruby-saml vulnerable to XPath injection

Published May 27, 2023 · Updated Jan 14, 2025 · Assigned by mitre

Description

xml_security.rb in the ruby-saml gem before 1.0.0 for Ruby allows XPath injection and code execution because prepared statements are not used.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 12 ruby-saml 1.0.0-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems ruby-saml < 1.0.0 1.0.0 GHSA-r364-2pj4-pf7f

References