Skip to content

spring-security-oauth2-client-5.0.6.RELEASE.jar: 7 vulnerabilities (highest severity is: 8.1) #135

@mend-bolt-for-github

Description

@mend-bolt-for-github
Vulnerable Library - spring-security-oauth2-client-5.0.6.RELEASE.jar

spring-security-oauth2-client

Library home page: http://spring.io/spring-security

Path to dependency file: /pom.xml

Path to vulnerable library: /framework/security/spring-security-oauth2-client/5.0.6.RELEASE/spring-security-oauth2-client-5.0.6.RELEASE.jar

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (spring-security-oauth2-client version) Remediation Available
CVE-2022-31690 High 8.1 spring-security-oauth2-client-5.0.6.RELEASE.jar Direct 5.6.9
CVE-2023-1370 High 7.5 json-smart-2.3.jar Transitive 5.6.6
CVE-2020-5408 Medium 6.5 spring-security-core-5.0.6.RELEASE.jar Transitive 5.0.16.RELEASE
CVE-2021-27568 Medium 5.9 json-smart-2.3.jar Transitive 5.5.0
CVE-2022-22970 Medium 5.3 spring-core-5.0.7.RELEASE.jar Transitive 5.5.0
CVE-2019-3795 Medium 5.3 spring-security-core-5.0.6.RELEASE.jar Transitive 5.0.12.RELEASE
CVE-2021-22096 Medium 4.3 spring-core-5.0.7.RELEASE.jar Transitive 5.2.13.RELEASE

Details

CVE-2022-31690

Vulnerable Library - spring-security-oauth2-client-5.0.6.RELEASE.jar

spring-security-oauth2-client

Library home page: http://spring.io/spring-security

Path to dependency file: /pom.xml

Path to vulnerable library: /framework/security/spring-security-oauth2-client/5.0.6.RELEASE/spring-security-oauth2-client-5.0.6.RELEASE.jar

Dependency Hierarchy:

  • spring-security-oauth2-client-5.0.6.RELEASE.jar (Vulnerable Library)

Found in base branch: master

Vulnerability Details

Spring Security, versions 5.7 prior to 5.7.5, and 5.6 prior to 5.6.9, and older unsupported versions could be susceptible to a privilege escalation under certain conditions. A malicious user or attacker can modify a request initiated by the Client (via the browser) to the Authorization Server which can lead to a privilege escalation on the subsequent approval. This scenario can happen if the Authorization Server responds with an OAuth2 Access Token Response containing an empty scope list (per RFC 6749, Section 5.1) on the subsequent request to the token endpoint to obtain the access token.

Publish Date: 2022-10-31

URL: CVE-2022-31690

CVSS 3 Score Details (8.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://tanzu.vmware.com/security/cve-2022-31690

Release Date: 2022-10-31

Fix Resolution: 5.6.9

Step up your Open Source Security Game with Mend here

CVE-2023-1370

Vulnerable Library - json-smart-2.3.jar

JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language, Standard ECMA-262 3rd Edition - December 1999. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many others. These properties make JSON an ideal data-interchange language.

Library home page: http://www.minidev.net/

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/net/minidev/json-smart/2.3/json-smart-2.3.jar

Dependency Hierarchy:

  • spring-security-oauth2-client-5.0.6.RELEASE.jar (Root Library)
    • oauth2-oidc-sdk-5.62.jar
      • json-smart-2.3.jar (Vulnerable Library)

Found in base branch: master

Vulnerability Details

Json-smart is a performance focused, JSON processor lib. When reaching a ‘[‘ or ‘{‘ character in the JSON input, the code parses an array or an object respectively. It was discovered that the code does not have any limit to the nesting of such arrays or objects. Since the parsing of nested arrays and objects is done recursively, nesting too many of them can cause a stack exhaustion (stack overflow) and crash the software.

Publish Date: 2023-03-22

URL: CVE-2023-1370

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://research.jfrog.com/vulnerabilities/stack-exhaustion-in-json-smart-leads-to-denial-of-service-when-parsing-malformed-json-xray-427633/

Release Date: 2023-03-22

Fix Resolution (net.minidev:json-smart): 2.4.9

Direct dependency fix Resolution (org.springframework.security:spring-security-oauth2-client): 5.6.6

Step up your Open Source Security Game with Mend here

CVE-2020-5408

Vulnerable Library - spring-security-core-5.0.6.RELEASE.jar

spring-security-core

Library home page: http://spring.io/spring-security

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/security/spring-security-core/5.0.6.RELEASE/spring-security-core-5.0.6.RELEASE.jar

Dependency Hierarchy:

  • spring-security-oauth2-client-5.0.6.RELEASE.jar (Root Library)
    • spring-security-core-5.0.6.RELEASE.jar (Vulnerable Library)

Found in base branch: master

Vulnerability Details

Spring Security versions 5.3.x prior to 5.3.2, 5.2.x prior to 5.2.4, 5.1.x prior to 5.1.10, 5.0.x prior to 5.0.16 and 4.2.x prior to 4.2.16 use a fixed null initialization vector with CBC Mode in the implementation of the queryable text encryptor. A malicious user with access to the data that has been encrypted using such an encryptor may be able to derive the unencrypted values using a dictionary attack.

Publish Date: 2020-05-14

URL: CVE-2020-5408

CVSS 3 Score Details (6.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: Low
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-5408

Release Date: 2020-05-14

Fix Resolution (org.springframework.security:spring-security-core): 5.0.16.RELEASE

Direct dependency fix Resolution (org.springframework.security:spring-security-oauth2-client): 5.0.16.RELEASE

Step up your Open Source Security Game with Mend here

CVE-2021-27568

Vulnerable Library - json-smart-2.3.jar

JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language, Standard ECMA-262 3rd Edition - December 1999. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many others. These properties make JSON an ideal data-interchange language.

Library home page: http://www.minidev.net/

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/net/minidev/json-smart/2.3/json-smart-2.3.jar

Dependency Hierarchy:

  • spring-security-oauth2-client-5.0.6.RELEASE.jar (Root Library)
    • oauth2-oidc-sdk-5.62.jar
      • json-smart-2.3.jar (Vulnerable Library)

Found in base branch: master

Vulnerability Details

An issue was discovered in netplex json-smart-v1 through 2015-10-23 and json-smart-v2 through 2.4. An exception is thrown from a function, but it is not caught, as demonstrated by NumberFormatException. When it is not caught, it may cause programs using the library to crash or expose sensitive information.

Publish Date: 2021-02-23

URL: CVE-2021-27568

CVSS 3 Score Details (5.9)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2021-02-23

Fix Resolution (net.minidev:json-smart): 2.3.1

Direct dependency fix Resolution (org.springframework.security:spring-security-oauth2-client): 5.5.0

Step up your Open Source Security Game with Mend here

CVE-2022-22970

Vulnerable Library - spring-core-5.0.7.RELEASE.jar

Spring Core

Library home page: https://github.com/spring-projects/spring-framework

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-core/5.0.7.RELEASE/spring-core-5.0.7.RELEASE.jar

Dependency Hierarchy:

  • spring-security-oauth2-client-5.0.6.RELEASE.jar (Root Library)
    • spring-core-5.0.7.RELEASE.jar (Vulnerable Library)

Found in base branch: master

Vulnerability Details

In spring framework versions prior to 5.3.20+ , 5.2.22+ and old unsupported versions, applications that handle file uploads are vulnerable to DoS attack if they rely on data binding to set a MultipartFile or javax.servlet.Part to a field in a model object.

Publish Date: 2022-05-12

URL: CVE-2022-22970

CVSS 3 Score Details (5.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: Low
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://tanzu.vmware.com/security/cve-2022-22970

Release Date: 2022-05-12

Fix Resolution (org.springframework:spring-core): 5.2.22.RELEASE

Direct dependency fix Resolution (org.springframework.security:spring-security-oauth2-client): 5.5.0

Step up your Open Source Security Game with Mend here

CVE-2019-3795

Vulnerable Library - spring-security-core-5.0.6.RELEASE.jar

spring-security-core

Library home page: http://spring.io/spring-security

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/security/spring-security-core/5.0.6.RELEASE/spring-security-core-5.0.6.RELEASE.jar

Dependency Hierarchy:

  • spring-security-oauth2-client-5.0.6.RELEASE.jar (Root Library)
    • spring-security-core-5.0.6.RELEASE.jar (Vulnerable Library)

Found in base branch: master

Vulnerability Details

Spring Security versions 4.2.x prior to 4.2.12, 5.0.x prior to 5.0.12, and 5.1.x prior to 5.1.5 contain an insecure randomness vulnerability when using SecureRandomFactoryBean#setSeed to configure a SecureRandom instance. In order to be impacted, an honest application must provide a seed and make the resulting random material available to an attacker for inspection.

Publish Date: 2019-04-09

URL: CVE-2019-3795

CVSS 3 Score Details (5.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://pivotal.io/security/cve-2019-3795

Release Date: 2019-04-09

Fix Resolution (org.springframework.security:spring-security-core): 5.0.12.RELEASE

Direct dependency fix Resolution (org.springframework.security:spring-security-oauth2-client): 5.0.12.RELEASE

Step up your Open Source Security Game with Mend here

CVE-2021-22096

Vulnerable Library - spring-core-5.0.7.RELEASE.jar

Spring Core

Library home page: https://github.com/spring-projects/spring-framework

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-core/5.0.7.RELEASE/spring-core-5.0.7.RELEASE.jar

Dependency Hierarchy:

  • spring-security-oauth2-client-5.0.6.RELEASE.jar (Root Library)
    • spring-core-5.0.7.RELEASE.jar (Vulnerable Library)

Found in base branch: master

Vulnerability Details

In Spring Framework versions 5.3.0 - 5.3.10, 5.2.0 - 5.2.17, and older unsupported versions, it is possible for a user to provide malicious input to cause the insertion of additional log entries.

Publish Date: 2021-10-28

URL: CVE-2021-22096

CVSS 3 Score Details (4.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: Low
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://tanzu.vmware.com/security/cve-2021-22096

Release Date: 2021-10-28

Fix Resolution (org.springframework:spring-core): 5.2.18.RELEASE

Direct dependency fix Resolution (org.springframework.security:spring-security-oauth2-client): 5.2.13.RELEASE

Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions