CVE-2021-28091
NixOS vulnerability analysis and mitigation

Overview

CVE-2021-28091 is a vulnerability discovered in Lasso, a library that implements Liberty Alliance Single Sign On standards including SAML and SAML2 specifications. The vulnerability was disclosed in June 2021 and affects all versions of Lasso prior to 2.7.0. The issue involves an XML Signature Wrapping (XSW) vulnerability when parsing SAML responses (Red Hat CVE).

Technical details

The vulnerability stems from improper verification of cryptographic signatures in SAML responses. When AuthnResponse messages are not signed (which is permitted by the specification), all assertion signatures should be checked. However, after the first signed assertion is checked, all following assertions were accepted without signature verification, and the last one was considered the main assertion (Lasso Git). The vulnerability has been assigned a CVSS score of 8.8 (High) (Ubuntu CVE).

Impact

This vulnerability could allow an attacker to modify a valid SAML response and impersonate users or bypass access control mechanisms. The flaw enables attackers to bundle assertions from different issuers, potentially compromising the authentication system's integrity (Debian Security).

Mitigation and workarounds

The vulnerability has been fixed in Lasso version 2.7.0. The patch implements two key changes: 1) checking signatures from all assertions if the message is not signed, and 2) refusing messages with assertions from different issuers than the one on the message, to prevent assertion bundling even if they are signed (Lasso Git).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-48606HIGH7.8
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48639HIGH7.3
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48625HIGH7
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48608MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48569MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management