---
title: "GHSA-cvp8-5r8g-fhvq: omniauth-saml vulnerable to Improper Verification of Cryptographic Signature"
url: https://erroneo.us/security/ghsa/GHSA-cvp8-5r8g-fhvq/
description: "GHSA-cvp8-5r8g-fhvq (critical, RubyGems): omniauth-saml vulnerable to Improper Verification of Cryptographic Signature. ruby-saml, the dependent SAML gem of…"
type: advisory
section: "Security Digest"
date_published: 2024-09-11
date_modified: 2024-09-19
publisher: erroneo.us
author: erroneo.us Security Desk
ghsa: "GHSA-cvp8-5r8g-fhvq"
license: All rights reserved. Quote with attribution and a link.
---

# GHSA-cvp8-5r8g-fhvq: omniauth-saml vulnerable to Improper Verification of Cryptographic Signature

## Affected packages

- RubyGems `omniauth-saml` >= 2.0.0, < 2.1.2 → fixed: 2.1.2
- RubyGems `omniauth-saml` < 1.10.5 → fixed: 1.10.5
- RubyGems `omniauth-saml` >= 2.2.0, < 2.2.1 → fixed: 2.2.1

## Details

ruby-saml, the dependent SAML gem of omniauth-saml has a signature wrapping vulnerability in

## Sources

- [GitHub Advisory GHSA-cvp8-5r8g-fhvq](https://github.com/advisories/GHSA-cvp8-5r8g-fhvq)
- [github.com](https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-jw9c-mfg7-9rx2)
- [github.com](https://github.com/omniauth/omniauth-saml/security/advisories/GHSA-cvp8-5r8g-fhvq)
- [github.com](https://github.com/omniauth/omniauth-saml/commit/4274e9d57e65f2dcaae4aa3b2accf831494f2ddd)
- [github.com](https://github.com/omniauth/omniauth-saml/commit/6c681fd082ab3daf271821897a40ab3417382e29)
- [github.com](https://github.com/rubysec/ruby-advisory-db/blob/master/gems/omniauth-saml/GHSA-cvp8-5r8g-fhvq.yml)

---
Source page: https://erroneo.us/security/ghsa/GHSA-cvp8-5r8g-fhvq/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
