SharonKoch / Gitea_Demo

MIT License
1 stars 0 forks source link

fomantic-ui-2.8.7.tgz: 8 vulnerabilities (highest severity is: 9.1) #3

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

mend-for-github-com[bot] commented 7 months ago
Vulnerable Library - fomantic-ui-2.8.7.tgz

Path to dependency file: /web_src/fomantic/package.json

Path to vulnerable library: /web_src/fomantic/package.json

Found in HEAD commit: 23ed15cc3668fa71a62805dc5610d0aa8660782c

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (fomantic-ui version) Remediation Possible**
CVE-2019-10744 Critical 9.1 lodash.template-3.6.2.tgz Transitive N/A*
CVE-2024-4068 High 7.5 braces-2.3.2.tgz Transitive N/A*
CVE-2020-7661 High 7.5 url-regex-3.2.0.tgz Transitive N/A*
WS-2018-0590 High 7.1 diff-1.0.8.tgz Transitive N/A*
CVE-2024-4067 Medium 5.3 micromatch-3.1.10.tgz Transitive N/A*
CVE-2023-44270 Medium 5.3 detected in multiple dependencies Transitive N/A*
CVE-2021-23382 Medium 5.3 postcss-6.0.23.tgz Transitive 2.9.0
CVE-2020-28469 Medium 5.3 glob-parent-3.1.0.tgz 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-2019-10744 ### Vulnerable Library - lodash.template-3.6.2.tgz

The modern build of lodash’s `_.template` as a module.

Library home page: https://registry.npmjs.org/lodash.template/-/lodash.template-3.6.2.tgz

Path to dependency file: /web_src/fomantic/package.json

Path to vulnerable library: /web_src/fomantic/package.json

Dependency Hierarchy: - fomantic-ui-2.8.7.tgz (Root Library) - gulp-concat-filenames-1.2.0.tgz - gulp-util-3.0.8.tgz - :x: **lodash.template-3.6.2.tgz** (Vulnerable Library)

Found in HEAD commit: 23ed15cc3668fa71a62805dc5610d0aa8660782c

Found in base branch: main

### Vulnerability Details

Versions of lodash lower than 4.17.12 are vulnerable to Prototype Pollution. The function defaultsDeep could be tricked into adding or modifying properties of Object.prototype using a constructor payload.

Publish Date: 2019-07-25

URL: CVE-2019-10744

### CVSS 3 Score Details (9.1)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-jf85-cpcp-j695

Release Date: 2019-07-25

Fix Resolution: lodash-4.17.12, lodash-amd-4.17.12, lodash-es-4.17.12, lodash.defaultsdeep-4.6.1, lodash.merge- 4.6.2, lodash.mergewith-4.6.2, lodash.template-4.5.0

CVE-2024-4068 ### Vulnerable Library - braces-2.3.2.tgz

Bash-like brace expansion, implemented in JavaScript. Safer than other brace expansion libs, with complete support for the Bash 4.3 braces specification, without sacrificing speed.

Library home page: https://registry.npmjs.org/braces/-/braces-2.3.2.tgz

Path to dependency file: /web_src/fomantic/package.json

Path to vulnerable library: /web_src/fomantic/package.json

Dependency Hierarchy: - fomantic-ui-2.8.7.tgz (Root Library) - gulp-4.0.2.tgz - glob-watcher-5.0.5.tgz - chokidar-2.1.8.tgz - :x: **braces-2.3.2.tgz** (Vulnerable Library)

Found in HEAD commit: 23ed15cc3668fa71a62805dc5610d0aa8660782c

Found in base branch: main

### Vulnerability Details

The NPM package `braces`, versions prior to 3.0.3, fails to limit the number of characters it can handle, which could lead to Memory Exhaustion. In `lib/parse.js,` if a malicious user sends "imbalanced braces" as input, the parsing will enter a loop, which will cause the program to start allocating heap memory without freeing it at any moment of the loop. Eventually, the JavaScript heap limit is reached, and the program will crash. Mend Note: After conducting a further research, it was concluded that CVE-2024-4068 does not contain a high security risk that reflects the NVD score, but should be kept for users' awareness. Users of braces should follow the fix recommendation as noted.

Publish Date: 2024-05-13

URL: CVE-2024-4068

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

Release Date: 2024-05-13

Fix Resolution: braces - 3.0.3

CVE-2020-7661 ### Vulnerable Library - url-regex-3.2.0.tgz

Regular expression for matching URLs

Library home page: https://registry.npmjs.org/url-regex/-/url-regex-3.2.0.tgz

Path to dependency file: /web_src/fomantic/package.json

Path to vulnerable library: /web_src/fomantic/package.json

Dependency Hierarchy: - fomantic-ui-2.8.7.tgz (Root Library) - gulp-concat-css-3.1.0.tgz - rework-import-2.1.0.tgz - :x: **url-regex-3.2.0.tgz** (Vulnerable Library)

Found in HEAD commit: 23ed15cc3668fa71a62805dc5610d0aa8660782c

Found in base branch: main

### Vulnerability Details

all versions of url-regex are vulnerable to Regular Expression Denial of Service. An attacker providing a very long string in String.test can cause a Denial of Service.

Publish Date: 2020-06-04

URL: CVE-2020-7661

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

WS-2018-0590 ### Vulnerable Library - diff-1.0.8.tgz

A javascript text diff implementation.

Library home page: https://registry.npmjs.org/diff/-/diff-1.0.8.tgz

Path to dependency file: /web_src/fomantic/package.json

Path to vulnerable library: /web_src/fomantic/package.json

Dependency Hierarchy: - fomantic-ui-2.8.7.tgz (Root Library) - gulp-dedupe-0.0.2.tgz - :x: **diff-1.0.8.tgz** (Vulnerable Library)

Found in HEAD commit: 23ed15cc3668fa71a62805dc5610d0aa8660782c

Found in base branch: main

### Vulnerability Details

A vulnerability was found in diff before v3.5.0, the affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) attacks.

Publish Date: 2018-03-05

URL: WS-2018-0590

### CVSS 3 Score Details (7.1)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Release Date: 2018-03-05

Fix Resolution: 3.5.0

CVE-2024-4067 ### Vulnerable Library - micromatch-3.1.10.tgz

Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch.

Library home page: https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz

Path to dependency file: /web_src/fomantic/package.json

Path to vulnerable library: /web_src/fomantic/package.json

Dependency Hierarchy: - fomantic-ui-2.8.7.tgz (Root Library) - gulp-4.0.2.tgz - glob-watcher-5.0.5.tgz - anymatch-2.0.0.tgz - :x: **micromatch-3.1.10.tgz** (Vulnerable Library)

Found in HEAD commit: 23ed15cc3668fa71a62805dc5610d0aa8660782c

Found in base branch: main

### Vulnerability Details

The NPM package `micromatch` prior to 4.0.8 is vulnerable to Regular Expression Denial of Service (ReDoS). The vulnerability occurs in `micromatch.braces()` in `index.js` because the pattern `.*` will greedily match anything. By passing a malicious payload, the pattern matching will keep backtracking to the input while it doesn't find the closing bracket. As the input size increases, the consumption time will also increase until it causes the application to hang or slow down. There was a merged fix but further testing shows the issue persists. This issue should be mitigated by using a safe pattern that won't start backtracking the regular expression due to greedy matching. This issue was fixed in version 4.0.8. Mend Note: After conducting a further research, it was concluded that CVE-2024-4067 should not reflect the security risk score in NVD, but will be kept for users' awareness.

Publish Date: 2024-05-13

URL: CVE-2024-4067

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Release Date: 2024-05-13

Fix Resolution: micromatch - 4.0.8

CVE-2023-44270 ### Vulnerable Libraries - postcss-7.0.39.tgz, postcss-6.0.23.tgz

### postcss-7.0.39.tgz

Tool for transforming styles with JS plugins

Library home page: https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz

Path to dependency file: /web_src/fomantic/package.json

Path to vulnerable library: /web_src/fomantic/package.json

Dependency Hierarchy: - fomantic-ui-2.8.7.tgz (Root Library) - gulp-autoprefixer-6.1.0.tgz - :x: **postcss-7.0.39.tgz** (Vulnerable Library) ### postcss-6.0.23.tgz

Tool for transforming styles with JS plugins

Library home page: https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz

Path to dependency file: /web_src/fomantic/package.json

Path to vulnerable library: /web_src/fomantic/package.json

Dependency Hierarchy: - fomantic-ui-2.8.7.tgz (Root Library) - gulp-rtlcss-1.4.2.tgz - rtlcss-2.6.2.tgz - :x: **postcss-6.0.23.tgz** (Vulnerable Library)

Found in HEAD commit: 23ed15cc3668fa71a62805dc5610d0aa8660782c

Found in base branch: main

### Vulnerability Details

An issue was discovered in PostCSS before 8.4.31. The vulnerability affects linters using PostCSS to parse external untrusted CSS. An attacker can prepare CSS in such a way that it will contains parts parsed by PostCSS as a CSS comment. After processing by PostCSS, it will be included in the PostCSS output in CSS nodes (rules, properties) despite being included in a comment.

Publish Date: 2023-09-29

URL: CVE-2023-44270

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-7fh5-64p2-3v2j

Release Date: 2023-09-29

Fix Resolution: postcss - 8.4.31

CVE-2021-23382 ### Vulnerable Library - postcss-6.0.23.tgz

Tool for transforming styles with JS plugins

Library home page: https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz

Path to dependency file: /web_src/fomantic/package.json

Path to vulnerable library: /web_src/fomantic/package.json

Dependency Hierarchy: - fomantic-ui-2.8.7.tgz (Root Library) - gulp-rtlcss-1.4.2.tgz - rtlcss-2.6.2.tgz - :x: **postcss-6.0.23.tgz** (Vulnerable Library)

Found in HEAD commit: 23ed15cc3668fa71a62805dc5610d0aa8660782c

Found in base branch: main

### Vulnerability Details

The package postcss before 8.2.13 are vulnerable to Regular Expression Denial of Service (ReDoS) via getAnnotationURL() and loadAnnotation() in lib/previous-map.js. The vulnerable regexes are caused mainly by the sub-pattern \/\*\s* sourceMappingURL=(.*).

Publish Date: 2021-04-26

URL: CVE-2021-23382

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

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

Release Date: 2021-04-26

Fix Resolution (postcss): 7.0.36

Direct dependency fix Resolution (fomantic-ui): 2.9.0

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2020-28469 ### Vulnerable Library - glob-parent-3.1.0.tgz

Strips glob magic from a string to provide the parent directory path

Library home page: https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz

Path to dependency file: /web_src/fomantic/package.json

Path to vulnerable library: /web_src/fomantic/package.json

Dependency Hierarchy: - fomantic-ui-2.8.7.tgz (Root Library) - gulp-4.0.2.tgz - vinyl-fs-3.0.3.tgz - glob-stream-6.1.0.tgz - :x: **glob-parent-3.1.0.tgz** (Vulnerable Library)

Found in HEAD commit: 23ed15cc3668fa71a62805dc5610d0aa8660782c

Found in base branch: main

### Vulnerability Details

This affects the package glob-parent before 5.1.2. The enclosure regex used to check for strings ending in enclosure containing path separator.

Publish Date: 2021-06-03

URL: CVE-2020-28469

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

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-28469

Release Date: 2021-06-03

Fix Resolution: glob-parent - 5.1.2


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