4k4xs4pH1r3 / gocrack

GoCrack is a management frontend for password cracking tools written in Go
MIT License
0 stars 1 forks source link

WS-2023-0431 (Medium) detected in gopkg.in/square/go-jose.v2-v2.3.1 #24

Open mend-bolt-for-github[bot] opened 7 months ago

mend-bolt-for-github[bot] commented 7 months ago

WS-2023-0431 - Medium Severity Vulnerability

Vulnerable Library - gopkg.in/square/go-jose.v2-v2.3.1

An implementation of JOSE standards (JWE, JWS, JWT) in Go

Library home page: https://proxy.golang.org/gopkg.in/square/go-jose.v2/@v/v2.3.1.zip

Path to dependency file: /go.mod

Path to vulnerable library: /go/pkg/mod/cache/download/gopkg.in/square/go-jose.v2/@v/v2.3.1.mod

Dependency Hierarchy: - :x: **gopkg.in/square/go-jose.v2-v2.3.1** (Vulnerable Library)

Found in HEAD commit: 62eb1f7b1cb792bbe607b277d53b733969f4b2ca

Found in base branch: master

Vulnerability Details

The go-jose package before 3.0.1 is subject to a "billion hashes attack" causing denial-of-service when decrypting JWE inputs. This occurs when an attacker can provide a PBES2 encrypted JWE blob with a very large p2c value that, when decrypted, produces a denial-of-service.

Publish Date: 2023-11-22

URL: WS-2023-0431

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: None - Integrity Impact: None - Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-2c7c-3mj9-8fqh

Release Date: 2023-11-22

Fix Resolution: v3.0.1


Step up your Open Source Security Game with Mend here

secure-code-warrior-for-github[bot] commented 7 months ago

Micro-Learning Topic: Denial of service (Detected by phrase)

Matched on "denial-of-service"

The Denial of Service (DoS) attack is focused on making a resource (site, application, server) unavailable for the purpose it was designed. There are many ways to make a service unavailable for legitimate users by manipulating network packets, programming, logical, or resources handling vulnerabilities, among others. Source: https://www.owasp.org/index.php/Denial_of_Service

Try a challenge in Secure Code Warrior

Micro-Learning Topic: Vulnerable library (Detected by phrase)

Matched on "Vulnerable Library"

What is this? (2min video)

Use of vulnerable components will introduce weaknesses into the application. Components with published vulnerabilities will allow easy exploitation as resources will often be available to automate the process.

Try a challenge in Secure Code Warrior