flamencist / flamencist/SelectorGenerator

CVE-2022-0536 (Medium) detected in follow-redirects-1.11.0.tgz

Open
#26 0 comments 0 reactions 0 assignees View on GitHub
Mend: dependency security vulnerability
Dominant language
JavaScript
Stars
20
Forks
7
PR merge metrics
No merged PRs in 30d

Description

## CVE-2022-0536 - Medium Severity Vulnerability
Vulnerable Library - follow-redirects-1.11.0.tgz

HTTP and HTTPS modules that follow redirects.


Library home page: https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.11.0.tgz


Path to dependency file: /package.json


Path to vulnerable library: /node_modules/follow-redirects/package.json


Dependency Hierarchy:
- karma-5.0.4.tgz (Root Library)
- http-proxy-1.18.0.tgz
- :x: **follow-redirects-1.11.0.tgz** (Vulnerable Library)


Vulnerability Details



Exposure of Sensitive Information to an Unauthorized Actor in NPM follow-redirects prior to 1.14.8.

Publish Date: 2022-02-09

URL: CVE-2022-0536



CVSS 3 Score Details (5.9)

Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: High
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: High
- Integrity Impact: None
- 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-0536


Release Date: 2022-02-09


Fix Resolution (follow-redirects): 1.14.8


Direct dependency fix Resolution (karma): 5.0.5

***
Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with package.json and inspect how karma 5.0.4 brings in http-proxy and follow-redirects 1.11.0. Apply the stated dependency upgrade path, then verify that the installed dependency is at least follow-redirects 1.14.8 and that the vulnerable version is no longer present.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
security, tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.