SharonKoch / skf-labs

Repo for all the OWASP-SKF Docker lab examples
Apache License 2.0
0 stars 1 forks source link

nodemon-2.0.14.tgz: 6 vulnerabilities (highest severity is: 9.8) #43

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

mend-for-github-com[bot] commented 10 months ago
Vulnerable Library - nodemon-2.0.14.tgz

Path to vulnerable library: /nodeJs/DOS-regex/package.json,/nodeJs/Http-response-splitting/package.json,/nodeJs/CMD/package.json,/nodeJs/CSRF-samesite/package.json,/nodeJs/Info-leakage-metadata/package.json,/nodeJs/CSSI/package.json,/nodeJs/XSS-url/package.json,/nodeJs/CSRF-weak/package.json,/nodeJs/XXE/package.json,/nodeJs/Client-side-restriction-bypass/package.json,/nodeJs/Ldap-Injection-harder/package.json,/nodeJs/SQLI-blind/package.json,/nodeJs/LFI-2/package.json,/nodeJs/IDOR/package.json,/nodeJs/Url-redirection-harder/package.json,/nodeJs/Url-redirection/package.json,/nodeJs/ParameterBinding/package.json,/nodeJs/XSS-attribute/package.json,/nodeJs/Graphql-Introspection/package.json,/nodeJs/RaceCondition-file-write/package.json,/nodeJs/CMD-Blind/package.json,/nodeJs/Auth-Bypass/package.json,/nodeJs/SSRF/package.json,/nodeJs/Ratelimiting/package.json,/nodeJs/Prototype-Pollution/package.json,/nodeJs/RaceCondition/package.json,/nodeJs/Auth-Bypass-1/package.json,/nodeJs/Credentials-guessing-2/package.json,/nodeJs/Client-side-restriction-bypass-2/package.json,/nodeJs/CMD3/package.json,/nodeJs/CMD2/package.json,/nodeJs/CORS/package.json,/nodeJs/CSP/package.json,/nodeJs/CMD4/package.json,/nodeJs/LFI/package.json,/nodeJs/RTLO/package.json,/nodeJs/Session-hijacking-xss/package.json,/nodeJs/Credentials-guessing-1/package.json,/nodeJs/LFI-3/package.json,/nodeJs/File-upload/package.json,/nodeJs/XSS-DOM-2/package.json,/nodeJs/Info-leakage-comments/package.json,/nodeJs/SQLI/package.json,/nodeJs/XSS-DOM/package.json,/nodeJs/Graphql-Mutations/package.json,/nodeJs/Formula-Injection/package.json,/nodeJs/Auth-Bypass-simple/package.json,/nodeJs/Content-type/package.json,/nodeJs/Url-redirection-harder2/package.json,/nodeJs/SessionPuzzle/package.json,/nodeJs/Ldap-Injection/package.json,/nodeJs/Auth-Bypass-3/package.json,/nodeJs/JWT-secret/package.json,/nodeJs/CSTI/package.json,/nodeJs/JWT-null/package.json,/nodeJs/Auth-Bypass-2/package.json,/nodeJs/RFI/package.json,/nodeJs/Untrusted-sources-js/package.json,/nodeJs/SQLI-like/package.json,/nodeJs/XSS/package.json

Found in HEAD commit: dbff3320673205dea2e0a4c513d54497ca905aab

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (nodemon version) Remediation Possible**
CVE-2021-44906 Critical 9.8 minimist-1.2.5.tgz Transitive 2.0.15
CVE-2024-4068 High 7.5 braces-3.0.2.tgz Transitive N/A*
CVE-2022-3517 High 7.5 minimatch-3.0.4.tgz Transitive N/A*
CVE-2022-33987 Medium 5.3 got-9.6.0.tgz Transitive 2.0.17
CVE-2022-25883 Medium 5.3 detected in multiple dependencies Transitive 3.0.0
CVE-2022-25881 Medium 5.3 http-cache-semantics-4.1.0.tgz Transitive 2.0.15

*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-2021-44906 ### Vulnerable Library - minimist-1.2.5.tgz

parse argument options

Library home page: https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz

Dependency Hierarchy: - nodemon-2.0.14.tgz (Root Library) - update-notifier-5.1.0.tgz - latest-version-5.1.0.tgz - package-json-6.5.0.tgz - registry-auth-token-4.2.1.tgz - rc-1.2.8.tgz - :x: **minimist-1.2.5.tgz** (Vulnerable Library)

Found in HEAD commit: dbff3320673205dea2e0a4c513d54497ca905aab

Found in base branch: master

### Vulnerability Details

Minimist <=1.2.5 is vulnerable to Prototype Pollution via file index.js, function setKey() (lines 69-95).

Publish Date: 2022-03-17

URL: CVE-2021-44906

### CVSS 3 Score Details (9.8)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - 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://github.com/advisories/GHSA-xvch-5gv4-984h

Release Date: 2022-03-17

Fix Resolution (minimist): 1.2.6

Direct dependency fix Resolution (nodemon): 2.0.15

CVE-2024-4068 ### Vulnerable Library - braces-3.0.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-3.0.2.tgz

Dependency Hierarchy: - nodemon-2.0.14.tgz (Root Library) - chokidar-3.5.2.tgz - :x: **braces-3.0.2.tgz** (Vulnerable Library)

Found in HEAD commit: dbff3320673205dea2e0a4c513d54497ca905aab

Found in base branch: master

### 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-2022-3517 ### Vulnerable Library - minimatch-3.0.4.tgz

a glob matcher in javascript

Library home page: https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz

Path to dependency file: /nodeJs/DOS-regex/package.json

Path to vulnerable library: /nodeJs/DOS-regex/package.json,/nodeJs/Http-response-splitting/package.json,/nodeJs/CMD/package.json,/nodeJs/CSRF-samesite/package.json,/nodeJs/Info-leakage-metadata/package.json,/nodeJs/CSSI/package.json,/nodeJs/XSS-url/package.json,/nodeJs/CSRF-weak/package.json,/nodeJs/XXE/package.json,/nodeJs/Client-side-restriction-bypass/package.json,/nodeJs/Ldap-Injection-harder/package.json,/nodeJs/SQLI-blind/package.json,/nodeJs/LFI-2/package.json,/nodeJs/IDOR/package.json,/nodeJs/Url-redirection-harder/package.json,/nodeJs/Url-redirection/package.json,/nodeJs/ParameterBinding/package.json,/nodeJs/XSS-attribute/package.json,/nodeJs/Graphql-Introspection/package.json,/nodeJs/RaceCondition-file-write/package.json,/nodeJs/CMD-Blind/package.json,/nodeJs/Auth-Bypass/package.json,/nodeJs/SSRF/package.json,/nodeJs/Ratelimiting/package.json,/nodeJs/Prototype-Pollution/package.json,/nodeJs/RaceCondition/package.json,/nodeJs/Auth-Bypass-1/package.json,/nodeJs/Credentials-guessing-2/package.json,/nodeJs/Client-side-restriction-bypass-2/package.json,/nodeJs/CMD3/package.json,/nodeJs/CMD2/package.json,/nodeJs/CORS/package.json,/nodeJs/CSP/package.json,/nodeJs/CMD4/package.json,/nodeJs/LFI/package.json,/nodeJs/RTLO/package.json,/nodeJs/Session-hijacking-xss/package.json,/nodeJs/Credentials-guessing-1/package.json,/nodeJs/LFI-3/package.json,/nodeJs/File-upload/package.json,/nodeJs/XSS-DOM-2/package.json,/nodeJs/Info-leakage-comments/package.json,/nodeJs/SQLI/package.json,/nodeJs/XSS-DOM/package.json,/nodeJs/Graphql-Mutations/package.json,/nodeJs/Formula-Injection/package.json,/nodeJs/Auth-Bypass-simple/package.json,/nodeJs/Content-type/package.json,/nodeJs/Url-redirection-harder2/package.json,/nodeJs/SessionPuzzle/package.json,/nodeJs/Ldap-Injection/package.json,/nodeJs/Auth-Bypass-3/package.json,/nodeJs/JWT-secret/package.json,/nodeJs/CSTI/package.json,/nodeJs/JWT-null/package.json,/nodeJs/Auth-Bypass-2/package.json,/nodeJs/RFI/package.json,/nodeJs/Untrusted-sources-js/package.json,/nodeJs/SQLI-like/package.json,/nodeJs/XSS/package.json

Dependency Hierarchy: - nodemon-2.0.14.tgz (Root Library) - :x: **minimatch-3.0.4.tgz** (Vulnerable Library)

Found in HEAD commit: dbff3320673205dea2e0a4c513d54497ca905aab

Found in base branch: master

### Vulnerability Details

A vulnerability was found in the minimatch package. This flaw allows a Regular Expression Denial of Service (ReDoS) when calling the braceExpand function with specific arguments, resulting in a Denial of Service.

Publish Date: 2022-10-17

URL: CVE-2022-3517

### 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: 2022-10-17

Fix Resolution: minimatch - 3.0.5

CVE-2022-33987 ### Vulnerable Library - got-9.6.0.tgz

Simplified HTTP requests

Library home page: https://registry.npmjs.org/got/-/got-9.6.0.tgz

Dependency Hierarchy: - nodemon-2.0.14.tgz (Root Library) - update-notifier-5.1.0.tgz - latest-version-5.1.0.tgz - package-json-6.5.0.tgz - :x: **got-9.6.0.tgz** (Vulnerable Library)

Found in HEAD commit: dbff3320673205dea2e0a4c513d54497ca905aab

Found in base branch: master

### Vulnerability Details

The got package before 12.1.0 (also fixed in 11.8.5) for Node.js allows a redirect to a UNIX socket.

Publish Date: 2022-06-18

URL: CVE-2022-33987

### 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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-33987

Release Date: 2022-06-18

Fix Resolution (got): 11.8.6

Direct dependency fix Resolution (nodemon): 2.0.17

CVE-2022-25883 ### Vulnerable Libraries - semver-5.7.1.tgz, semver-7.3.5.tgz, semver-6.3.0.tgz

### semver-5.7.1.tgz

The semantic version parser used by npm.

Library home page: https://registry.npmjs.org/semver/-/semver-5.7.1.tgz

Path to dependency file: /nodeJs/SQLI/package.json

Path to vulnerable library: /nodeJs/SQLI/package.json,/nodeJs/Formula-Injection/package.json,/nodeJs/IDOR/package.json,/nodeJs/XSS-DOM/package.json,/nodeJs/LFI-3/package.json,/nodeJs/Untrusted-sources-js/package.json,/nodeJs/XSS-DOM-2/package.json,/nodeJs/LFI-2/package.json,/nodeJs/Graphql-Introspection/package.json,/nodeJs/Graphql-Injection/package.json,/nodeJs/CSP/package.json,/nodeJs/XSS-attribute/package.json,/nodeJs/ParameterBinding/package.json,/nodeJs/Auth-Bypass-simple/package.json,/nodeJs/Auth-Bypass-1/package.json,/nodeJs/CMD/package.json,/nodeJs/Credentials-guessing-2/package.json,/nodeJs/Http-response-splitting/package.json,/nodeJs/CORS/package.json,/nodeJs/CMD3/package.json,/nodeJs/CMD2/package.json,/nodeJs/Client-side-restriction-bypass-2/package.json,/nodeJs/Ldap-Injection-harder/package.json,/nodeJs/XSS/package.json,/nodeJs/Credentials-guessing-1/package.json,/nodeJs/Auth-Bypass-3/package.json,/nodeJs/Auth-Bypass-2/package.json,/nodeJs/JWT-secret/package.json,/nodeJs/Session-hijacking-xss/package.json,/nodeJs/Ldap-Injection/package.json,/nodeJs/Content-type/package.json,/nodeJs/Graphql-Mutations/package.json,/nodeJs/SessionPuzzle/package.json,/nodeJs/Url-redirection-harder/package.json,/nodeJs/RFI/package.json,/nodeJs/CSTI/package.json,/nodeJs/JWT-null/package.json,/nodeJs/Url-redirection-harder2/package.json,/nodeJs/File-upload/package.json,/nodeJs/SQLI-like/package.json,/nodeJs/SQLI-blind/package.json,/nodeJs/Auth-Bypass/package.json,/nodeJs/Info-leakage-metadata/package.json,/nodeJs/SSRF/package.json,/nodeJs/Client-side-restriction-bypass/package.json,/nodeJs/CMD4/package.json,/nodeJs/Ratelimiting/package.json,/nodeJs/CSSI/package.json,/nodeJs/CSRF-samesite/package.json,/nodeJs/RTLO/package.json,/nodeJs/LFI/package.json,/nodeJs/DOS-regex/package.json,/nodeJs/Info-leakage-comments/package.json,/nodeJs/XXE/package.json,/nodeJs/CSRF-weak/package.json,/nodeJs/Prototype-Pollution/package.json,/nodeJs/CMD-Blind/package.json,/nodeJs/RaceCondition/package.json,/nodeJs/RaceCondition-file-write/package.json,/nodeJs/XSS-url/package.json,/nodeJs/Url-redirection/package.json

Dependency Hierarchy: - nodemon-2.0.14.tgz (Root Library) - :x: **semver-5.7.1.tgz** (Vulnerable Library) ### semver-7.3.5.tgz

The semantic version parser used by npm.

Library home page: https://registry.npmjs.org/semver/-/semver-7.3.5.tgz

Path to dependency file: /nodeJs/RaceCondition/package.json

Path to vulnerable library: /nodeJs/RaceCondition/package.json,/nodeJs/Auth-Bypass-3/package.json,/nodeJs/LFI/package.json,/nodeJs/CMD4/package.json,/nodeJs/Auth-Bypass/package.json,/nodeJs/File-upload/package.json,/nodeJs/Prototype-Pollution/package.json,/nodeJs/RTLO/package.json,/nodeJs/Client-side-restriction-bypass-2/package.json,/nodeJs/JWT-secret/package.json,/nodeJs/CORS/package.json,/nodeJs/SessionPuzzle/package.json,/nodeJs/Auth-Bypass-1/package.json,/nodeJs/Url-redirection-harder/package.json,/nodeJs/Graphql-Mutations/package.json,/nodeJs/CSTI/package.json,/nodeJs/Ratelimiting/package.json,/nodeJs/RFI/package.json,/nodeJs/CMD3/package.json,/nodeJs/Auth-Bypass-2/package.json,/nodeJs/CMD2/package.json,/nodeJs/JWT-null/package.json,/nodeJs/Url-redirection-harder2/package.json,/nodeJs/Graphql-Introspection/package.json,/nodeJs/CMD-Blind/package.json,/nodeJs/CSRF-weak/package.json,/nodeJs/Client-side-restriction-bypass/package.json,/nodeJs/SQLI/package.json,/nodeJs/Auth-Bypass-simple/package.json,/nodeJs/Url-redirection/package.json,/nodeJs/XSS-DOM/package.json,/nodeJs/Info-leakage-comments/package.json,/nodeJs/IDOR/package.json,/nodeJs/LFI-2/package.json,/nodeJs/LFI-3/package.json,/nodeJs/XSS-url/package.json,/nodeJs/XXE/package.json,/nodeJs/RaceCondition-file-write/package.json,/nodeJs/CMD/package.json,/nodeJs/Http-response-splitting/package.json,/nodeJs/Formula-Injection/package.json,/nodeJs/ParameterBinding/package.json,/nodeJs/CSRF-samesite/package.json,/nodeJs/XSS/package.json,/nodeJs/Untrusted-sources-js/package.json,/nodeJs/DOS-regex/package.json,/nodeJs/SSRF/package.json,/nodeJs/Info-leakage-metadata/package.json,/nodeJs/XSS-attribute/package.json,/nodeJs/Session-hijacking-xss/package.json,/nodeJs/SQLI-like/package.json,/nodeJs/XSS-DOM-2/package.json,/nodeJs/Content-type/package.json,/nodeJs/CSSI/package.json,/nodeJs/CSP/package.json,/nodeJs/Credentials-guessing-1/package.json,/nodeJs/Ldap-Injection/package.json,/nodeJs/SQLI-blind/package.json,/nodeJs/Ldap-Injection-harder/package.json,/nodeJs/Credentials-guessing-2/package.json

Dependency Hierarchy: - nodemon-2.0.14.tgz (Root Library) - update-notifier-5.1.0.tgz - :x: **semver-7.3.5.tgz** (Vulnerable Library) ### semver-6.3.0.tgz

The semantic version parser used by npm.

Library home page: https://registry.npmjs.org/semver/-/semver-6.3.0.tgz

Path to dependency file: /nodeJs/Content-type/package.json

Path to vulnerable library: /nodeJs/Content-type/package.json,/nodeJs/Url-redirection-harder2/package.json,/nodeJs/JWT-null/package.json,/nodeJs/Url-redirection/package.json,/nodeJs/SessionPuzzle/package.json,/nodeJs/Ldap-Injection/package.json,/nodeJs/File-upload/package.json,/nodeJs/Client-side-restriction-bypass/package.json,/nodeJs/CSRF-weak/package.json,/nodeJs/CSSI/package.json,/nodeJs/Info-leakage-metadata/package.json,/nodeJs/SQLI-blind/package.json,/nodeJs/Client-side-restriction-bypass-2/package.json,/nodeJs/Prototype-Pollution/package.json,/nodeJs/DOS-regex/package.json,/nodeJs/XSS-url/package.json,/nodeJs/LFI/package.json,/nodeJs/Ratelimiting/package.json,/nodeJs/SSRF/package.json,/nodeJs/Auth-Bypass/package.json,/nodeJs/CMD-Blind/package.json,/nodeJs/RaceCondition-file-write/package.json,/nodeJs/Url-redirection-harder/package.json,/nodeJs/Graphql-Introspection/package.json,/nodeJs/RaceCondition/package.json,/nodeJs/IDOR/package.json,/nodeJs/XSS-DOM-2/package.json,/nodeJs/Auth-Bypass-simple/package.json,/nodeJs/LFI-2/package.json,/nodeJs/SQLI/package.json,/nodeJs/Untrusted-sources-js/package.json,/nodeJs/XSS-attribute/package.json,/nodeJs/Formula-Injection/package.json,/nodeJs/ParameterBinding/package.json,/nodeJs/Session-hijacking-xss/package.json,/nodeJs/CSP/package.json,/nodeJs/XSS-DOM/package.json,/nodeJs/Ldap-Injection-harder/package.json,/nodeJs/LFI-3/package.json,/nodeJs/Graphql-Injection/package.json,/nodeJs/XXE/package.json,/nodeJs/Credentials-guessing-1/package.json,/nodeJs/Info-leakage-comments/package.json,/nodeJs/RTLO/package.json,/nodeJs/Auth-Bypass-2/package.json,/nodeJs/Credentials-guessing-2/package.json,/nodeJs/CMD4/package.json,/nodeJs/CMD3/package.json,/nodeJs/CORS/package.json,/nodeJs/CMD/package.json,/nodeJs/CSRF-samesite/package.json,/nodeJs/XSS/package.json,/nodeJs/CSTI/package.json,/nodeJs/JWT-secret/package.json,/nodeJs/CMD2/package.json,/nodeJs/Auth-Bypass-3/package.json,/nodeJs/Graphql-Mutations/package.json,/nodeJs/Http-response-splitting/package.json,/nodeJs/RFI/package.json,/nodeJs/Auth-Bypass-1/package.json,/nodeJs/SQLI-like/package.json

Dependency Hierarchy: - nodemon-2.0.14.tgz (Root Library) - update-notifier-5.1.0.tgz - latest-version-5.1.0.tgz - package-json-6.5.0.tgz - :x: **semver-6.3.0.tgz** (Vulnerable Library)

Found in HEAD commit: dbff3320673205dea2e0a4c513d54497ca905aab

Found in base branch: master

### Vulnerability Details

Versions of the package semver before 7.5.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the function new Range, when untrusted user data is provided as a range.

Publish Date: 2023-06-21

URL: CVE-2022-25883

### 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://github.com/advisories/GHSA-c2qf-rxjj-qqgw

Release Date: 2023-06-21

Fix Resolution (semver): 5.7.2

Direct dependency fix Resolution (nodemon): 3.0.0

Fix Resolution (semver): 5.7.2

Direct dependency fix Resolution (nodemon): 3.0.0

Fix Resolution (semver): 5.7.2

Direct dependency fix Resolution (nodemon): 3.0.0

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2022-25881 ### Vulnerable Library - http-cache-semantics-4.1.0.tgz

Parses Cache-Control and other headers. Helps building correct HTTP caches and proxies

Library home page: https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz

Path to dependency file: /nodeJs/RaceCondition/package.json

Path to vulnerable library: /nodeJs/RaceCondition/package.json,/nodeJs/Auth-Bypass-3/package.json,/nodeJs/LFI/package.json,/nodeJs/Ratelimiting/package.json,/nodeJs/Ldap-Injection/package.json,/nodeJs/Auth-Bypass/package.json,/nodeJs/CMD3/package.json,/nodeJs/CMD4/package.json,/nodeJs/Info-leakage-comments/package.json,/nodeJs/Credentials-guessing-1/package.json,/nodeJs/SQLI-blind/package.json,/nodeJs/RTLO/package.json,/nodeJs/CSP/package.json,/nodeJs/Credentials-guessing-2/package.json,/nodeJs/File-upload/package.json,/nodeJs/Client-side-restriction-bypass-2/package.json,/nodeJs/Info-leakage-metadata/package.json,/nodeJs/Session-hijacking-xss/package.json,/nodeJs/Graphql-Injection/package.json,/nodeJs/SQLI-like/package.json,/nodeJs/Untrusted-sources-js/package.json,/nodeJs/CSRF-samesite/package.json,/nodeJs/JWT-null/package.json,/nodeJs/CMD2/package.json,/nodeJs/Formula-Injection/package.json,/nodeJs/Graphql-Mutations/package.json,/nodeJs/SessionPuzzle/package.json,/nodeJs/Auth-Bypass-1/package.json,/nodeJs/CMD/package.json,/nodeJs/Url-redirection-harder2/package.json,/nodeJs/JWT-secret/package.json,/nodeJs/Auth-Bypass-2/package.json,/nodeJs/RFI/package.json,/nodeJs/Content-type/package.json,/nodeJs/XSS/package.json,/nodeJs/CORS/package.json,/nodeJs/CSTI/package.json,/nodeJs/Http-response-splitting/package.json,/nodeJs/XSS-url/package.json,/nodeJs/RaceCondition-file-write/package.json,/nodeJs/Ldap-Injection-harder/package.json,/nodeJs/XSS-DOM/package.json,/nodeJs/LFI-2/package.json,/nodeJs/SQLI/package.json,/nodeJs/Auth-Bypass-simple/package.json,/nodeJs/Client-side-restriction-bypass/package.json,/nodeJs/XSS-DOM-2/package.json,/nodeJs/CSSI/package.json,/nodeJs/XXE/package.json,/nodeJs/CSRF-weak/package.json,/nodeJs/Graphql-Introspection/package.json,/nodeJs/XSS-attribute/package.json,/nodeJs/SSRF/package.json,/nodeJs/LFI-3/package.json,/nodeJs/IDOR/package.json,/nodeJs/ParameterBinding/package.json,/nodeJs/DOS-regex/package.json,/nodeJs/Prototype-Pollution/package.json,/nodeJs/Url-redirection/package.json,/nodeJs/Url-redirection-harder/package.json,/nodeJs/CMD-Blind/package.json

Dependency Hierarchy: - nodemon-2.0.14.tgz (Root Library) - update-notifier-5.1.0.tgz - latest-version-5.1.0.tgz - package-json-6.5.0.tgz - got-9.6.0.tgz - cacheable-request-6.1.0.tgz - :x: **http-cache-semantics-4.1.0.tgz** (Vulnerable Library)

Found in HEAD commit: dbff3320673205dea2e0a4c513d54497ca905aab

Found in base branch: master

### Vulnerability Details

This affects versions of the package http-cache-semantics before 4.1.1. The issue can be exploited via malicious request header values sent to a server, when that server reads the cache policy from the request using this library.

Publish Date: 2023-01-31

URL: CVE-2022-25881

### 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://github.com/advisories/GHSA-rc47-6667-2j5j

Release Date: 2023-01-31

Fix Resolution (http-cache-semantics): 4.1.1

Direct dependency fix Resolution (nodemon): 2.0.15

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

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