Incorrect Permission Assignment for Critical Resource Affecting org.springframework.security:spring-security-config package, versions [5.7.9,5.7.11) [5.8.4,5.8.7) [6.0.4,6.0.7) [6.1.1,6.1.4)


0.0
medium

Snyk CVSS

    Attack Complexity High
    Privileges Required High
    Integrity High

    Threat Intelligence

    EPSS 0.04% (6th percentile)
Expand this section
NVD
5.5 medium
Expand this section
Red Hat
4.1 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JAVA-ORGSPRINGFRAMEWORKSECURITY-5905484
  • published 19 Sep 2023
  • disclosed 18 Sep 2023
  • credit Martin Holland

How to fix?

Upgrade org.springframework.security:spring-security-config to version 5.7.11, 5.8.7, 6.0.7, 6.1.4 or higher.

Overview

org.springframework.security:spring-security-config is a security configuration package for Spring Framework.

Affected versions of this package are vulnerable to Incorrect Permission Assignment for Critical Resource via the spring-security.xsd file due to being world writable. An attacker with access to the file system could extract this file and modify it.