VDB
KO
HIGH 7.3

GHSA-2q7c-5gjm-7q23

Spring Security SAML2 Service Provider is vulnerable to Deserialization of Untrusted Data via JdbcAssertingPartyMetadataRepository

Quick fix

GHSA-2q7c-5gjm-7q23 — org.springframework.security:spring-security-saml2-service-provider: upgrade to the fixed version with the command below.

# pom.xml: bump <version>7.0.6</version> for org.springframework.security:spring-security-saml2-service-provider

Details

An attacker with write permissions to the database table managed by JdbcAssertingPartyMetadataRepository (saml2_asserting_party_metadata) may be able to store malicious serialized payloads in the columns containing the collection of verification or encryption credentials (verification_credentials and encryption_credentials, respectively).

Affected versions: Spring Security 7.0.0 through 7.0.5.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven / org.springframework.security:spring-security-saml2-service-provider
Introduced in: 7.0.0 Fixed in: 7.0.6
Fix # pom.xml: bump <version>7.0.6</version> for org.springframework.security:spring-security-saml2-service-provider

References