EternalCodeTeam / gpt-drama

🎉 A simple 4fun written drama generator based on the gpt language model inspired by the Spigot drama generator
https://eternalcode.pl
MIT License
7 stars 0 forks source link

github.com/bwmarrin/discorDgo-v0.28.1: 3 vulnerabilities (highest severity is: 7.5) #11

Closed mend-bolt-for-github[bot] closed 2 weeks ago

mend-bolt-for-github[bot] commented 2 weeks ago
Vulnerable Library - github.com/bwmarrin/discorDgo-v0.28.1

Path to dependency file: /go.mod

Path to vulnerable library: /go.mod,/go/pkg/mod/cache/download/golang.org/x/crypto/@v/v0.0.0-20210421170649-83a5a9bb288b.mod

Found in HEAD commit: 5c7a21fb32b5919d823212b88c7a2217915bb81c

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (github.com/bwmarrin/discorDgo-v0.28.1 version) Remediation Possible**
CVE-2022-27191 High 7.5 golang.org/x/crypto-v0.0.0-20210421170649-83a5a9bb288b Transitive N/A*
CVE-2021-43565 High 7.5 golang.org/x/crypto-v0.0.0-20210421170649-83a5a9bb288b Transitive N/A*
CVE-2022-30636 Medium 5.3 golang.org/x/crypto-v0.0.0-20210421170649-83a5a9bb288b Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2022-27191 ### Vulnerable Library - golang.org/x/crypto-v0.0.0-20210421170649-83a5a9bb288b

Library home page: https://proxy.golang.org/golang.org/x/crypto/@v/v0.0.0-20210421170649-83a5a9bb288b.zip

Path to dependency file: /go.mod

Path to vulnerable library: /go.mod,/go/pkg/mod/cache/download/golang.org/x/crypto/@v/v0.0.0-20210421170649-83a5a9bb288b.mod

Dependency Hierarchy: - github.com/bwmarrin/discorDgo-v0.28.1 (Root Library) - :x: **golang.org/x/crypto-v0.0.0-20210421170649-83a5a9bb288b** (Vulnerable Library)

Found in HEAD commit: 5c7a21fb32b5919d823212b88c7a2217915bb81c

Found in base branch: master

### Vulnerability Details

The golang.org/x/crypto/ssh package before 0.0.0-20220314234659-1baeb1ce4c0b for Go allows an attacker to crash a server in certain circumstances involving AddHostKey.

Publish Date: 2022-03-18

URL: CVE-2022-27191

### 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://nvd.nist.gov/vuln/detail/CVE-2022-27191

Release Date: 2022-03-18

Fix Resolution: golang-golang-x-crypto-dev - 1:0.0~git20220315.3147a52-1;golang-go.crypto-dev - 1:0.0~git20220315.3147a52-1

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2021-43565 ### Vulnerable Library - golang.org/x/crypto-v0.0.0-20210421170649-83a5a9bb288b

Library home page: https://proxy.golang.org/golang.org/x/crypto/@v/v0.0.0-20210421170649-83a5a9bb288b.zip

Path to dependency file: /go.mod

Path to vulnerable library: /go.mod,/go/pkg/mod/cache/download/golang.org/x/crypto/@v/v0.0.0-20210421170649-83a5a9bb288b.mod

Dependency Hierarchy: - github.com/bwmarrin/discorDgo-v0.28.1 (Root Library) - :x: **golang.org/x/crypto-v0.0.0-20210421170649-83a5a9bb288b** (Vulnerable Library)

Found in HEAD commit: 5c7a21fb32b5919d823212b88c7a2217915bb81c

Found in base branch: master

### Vulnerability Details

The x/crypto/ssh package before 0.0.0-20211202192323-5770296d904e of golang.org/x/crypto allows an attacker to panic an SSH server.

Publish Date: 2022-09-06

URL: CVE-2021-43565

### 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://nvd.nist.gov/vuln/detail/CVE-2021-43565

Release Date: 2021-11-10

Fix Resolution: golang-golang-x-crypto-dev - 1:0.0~git20211202.5770296-1;golang-go.crypto-dev - 1:0.0~git20211202.5770296-1

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2022-30636 ### Vulnerable Library - golang.org/x/crypto-v0.0.0-20210421170649-83a5a9bb288b

Library home page: https://proxy.golang.org/golang.org/x/crypto/@v/v0.0.0-20210421170649-83a5a9bb288b.zip

Path to dependency file: /go.mod

Path to vulnerable library: /go.mod,/go/pkg/mod/cache/download/golang.org/x/crypto/@v/v0.0.0-20210421170649-83a5a9bb288b.mod

Dependency Hierarchy: - github.com/bwmarrin/discorDgo-v0.28.1 (Root Library) - :x: **golang.org/x/crypto-v0.0.0-20210421170649-83a5a9bb288b** (Vulnerable Library)

Found in HEAD commit: 5c7a21fb32b5919d823212b88c7a2217915bb81c

Found in base branch: master

### Vulnerability Details

httpTokenCacheKey uses path.Base to extract the expected HTTP-01 token value to lookup in the DirCache implementation. On Windows, path.Base acts differently to filepath.Base, since Windows uses a different path separator (\ vs. /), allowing a user to provide a relative path, i.e. .well-known/acme-challenge/..\..\asd becomes ..\..\asd. The extracted path is then suffixed with +http-01, joined with the cache directory, and opened. Since the controlled path is suffixed with +http-01 before opening, the impact of this is significantly limited, since it only allows reading arbitrary files on the system if and only if they have this suffix.

Publish Date: 2024-07-02

URL: CVE-2022-30636

### 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://www.cve.org/CVERecord?id=CVE-2022-30636

Release Date: 2024-07-02

Fix Resolution: github.com/golang/crypto-v0.1.0

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
vLuckyyy commented 2 weeks ago

``