VDB

CVE-2020-5407

CVE-2020-5407 PUBLISHED CVSS 8.800000190734863 HIGH

Signature Wrapping Vulnerability with spring-security-saml2-service-provider

Reported by pivotal · Published May 13, 2020

spring-security-core is fixed in 5.3.2 and 5.2.4 (Maven Central)

Spring Security versions 5.2.x prior to 5.2.4 and 5.3.x prior to 5.3.2 contain a signature wrapping vulnerability during SAML response validation. 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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.springframework.security:spring-security-coreMaven Central5.3.2, 5.2.4
org.springframework.security:spring-security-saml2-service-providerMaven Central5.3.2, 5.2.4
spring_securitypivotal_software5.3.2, 5.2.4
Spring SecuritySpring by VMware5.3.2, 5.2.4

Risk scores

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

Affected products

VendorProductVersions
Spring by VMwareSpring Security5.2, 5.3
Spring by VMwareSpring Security5.2, 5.3
Mavenorg.springframework.security:spring-security-saml2-service-provider5.2.0, 5.3.0
Mavenorg.springframework.security:spring-security-core5.2.0, 5.3.0

Timeline

  • May 13, 2020 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Jun 15, 2021 CVE Updated
  • Apr 10, 2026 Security Advisory
  • Aug 30, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-5407
vulnetix vdb fixes CVE-2020-5407

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-5407/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›