Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.security/spring-security-saml2-service-provider
  4. ›
  5. CVE-2020-5407

CVE-2020-5407: Improper Verification of Cryptographic Signature

May 13, 2020 (updated June 14, 2021)

When using the spring-security-saml2-service-provider component, a malicious user can carefully modify an otherwise valid SAML response and append an arbitrary assertion that Spring Security will accept as valid.

References

  • nvd.nist.gov/vuln/detail/CVE-2020-5407
  • tanzu.vmware.com/security/cve-2020-5407

Code Behaviors & Features

Detect and mitigate CVE-2020-5407 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 5.2.0 before 5.2.4, all versions starting from 5.3.0 before 5.3.2

Fixed versions

  • 5.2.4.RELEASE
  • 5.3.2.RELEASE

Solution

Upgrade to versions 5.2.4.RELEASE, 5.3.2.RELEASE or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-347: Improper Verification of Cryptographic Signature

Source file

maven/org.springframework.security/spring-security-saml2-service-provider/CVE-2020-5407.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:36 +0000.