sureng-ws-ibm / APISecurity-crAPI

Apache License 2.0
0 stars 0 forks source link

github.com/golang/text-v0.3.3: 4 vulnerabilities (highest severity is: 7.5) #7

Open mend-for-github-com[bot] opened 2 years ago

mend-for-github-com[bot] commented 2 years ago
Vulnerable Library - github.com/golang/text-v0.3.3

[mirror] Go text processing support

Library home page: https://proxy.golang.org/github.com/golang/text/@v/v0.3.3.zip

Path to dependency file: /services/community/go.mod

Path to vulnerable library: /services/community/go.mod

Found in HEAD commit: 0ebe12c17d9dae35890023db25cf9bf1863db5c0

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (github.com/golang/text-v0.3.3 version) Remediation Possible**
CVE-2022-32149 High 7.5 github.com/golang/text-v0.3.3 Direct v0.3.8
CVE-2021-38561 High 7.5 github.com/golang/text-v0.3.3 Direct v0.3.7
CVE-2020-28852 High 7.5 github.com/golang/text-v0.3.3 Direct golang-golang-x-text-dev - 0.3.5-1,0.3.5-1
CVE-2020-28851 High 7.5 github.com/golang/text-v0.3.3 Direct golang-golang-x-text-dev - 0.3.6-1,0.3.6-1

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

Details

CVE-2022-32149 ### Vulnerable Library - github.com/golang/text-v0.3.3

[mirror] Go text processing support

Library home page: https://proxy.golang.org/github.com/golang/text/@v/v0.3.3.zip

Path to dependency file: /services/community/go.mod

Path to vulnerable library: /services/community/go.mod

Dependency Hierarchy: - :x: **github.com/golang/text-v0.3.3** (Vulnerable Library)

Found in HEAD commit: 0ebe12c17d9dae35890023db25cf9bf1863db5c0

Found in base branch: main

### Vulnerability Details

An attacker may cause a denial of service by crafting an Accept-Language header which ParseAcceptLanguage will take significant time to parse.

Publish Date: 2022-10-14

URL: CVE-2022-32149

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

Release Date: 2022-10-14

Fix Resolution: v0.3.8

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2021-38561 ### Vulnerable Library - github.com/golang/text-v0.3.3

[mirror] Go text processing support

Library home page: https://proxy.golang.org/github.com/golang/text/@v/v0.3.3.zip

Path to dependency file: /services/community/go.mod

Path to vulnerable library: /services/community/go.mod

Dependency Hierarchy: - :x: **github.com/golang/text-v0.3.3** (Vulnerable Library)

Found in HEAD commit: 0ebe12c17d9dae35890023db25cf9bf1863db5c0

Found in base branch: main

### Vulnerability Details

golang.org/x/text/language in golang.org/x/text before 0.3.7 can panic with an out-of-bounds read during BCP 47 language tag parsing. Index calculation is mishandled. If parsing untrusted user input, this can be used as a vector for a denial-of-service attack.

Publish Date: 2022-12-26

URL: CVE-2021-38561

### 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://osv.dev/vulnerability/GO-2021-0113

Release Date: 2021-08-12

Fix Resolution: v0.3.7

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2020-28852 ### Vulnerable Library - github.com/golang/text-v0.3.3

[mirror] Go text processing support

Library home page: https://proxy.golang.org/github.com/golang/text/@v/v0.3.3.zip

Path to dependency file: /services/community/go.mod

Path to vulnerable library: /services/community/go.mod

Dependency Hierarchy: - :x: **github.com/golang/text-v0.3.3** (Vulnerable Library)

Found in HEAD commit: 0ebe12c17d9dae35890023db25cf9bf1863db5c0

Found in base branch: main

### Vulnerability Details

In x/text in Go before v0.3.5, a "slice bounds out of range" panic occurs in language.ParseAcceptLanguage while processing a BCP 47 tag. (x/text/language is supposed to be able to parse an HTTP Accept-Language header.)

Publish Date: 2021-01-02

URL: CVE-2020-28852

### 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-2020-28852

Release Date: 2021-01-02

Fix Resolution: golang-golang-x-text-dev - 0.3.5-1,0.3.5-1

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2020-28851 ### Vulnerable Library - github.com/golang/text-v0.3.3

[mirror] Go text processing support

Library home page: https://proxy.golang.org/github.com/golang/text/@v/v0.3.3.zip

Path to dependency file: /services/community/go.mod

Path to vulnerable library: /services/community/go.mod

Dependency Hierarchy: - :x: **github.com/golang/text-v0.3.3** (Vulnerable Library)

Found in HEAD commit: 0ebe12c17d9dae35890023db25cf9bf1863db5c0

Found in base branch: main

### Vulnerability Details

In x/text in Go 1.15.4, an "index out of range" panic occurs in language.ParseAcceptLanguage while parsing the -u- extension. (x/text/language is supposed to be able to parse an HTTP Accept-Language header.)

Publish Date: 2021-01-02

URL: CVE-2020-28851

### 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-2020-28851

Release Date: 2021-01-02

Fix Resolution: golang-golang-x-text-dev - 0.3.6-1,0.3.6-1

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.

:rescue_worker_helmet:Automatic Remediation will be attempted for this issue.

mend-for-github-com[bot] commented 1 year ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

mend-for-github-com[bot] commented 8 months ago

:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.