jtimberlake / serverless-artillery

Combine serverless with artillery and you get serverless-artillery for instant, cheap, and easy performance testing at scale.
Apache License 2.0
0 stars 0 forks source link

CVE-2021-42581 (Critical) detected in ramda-0.26.1.tgz, ramda-0.25.0.tgz #96

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

mend-for-github-com[bot] commented 2 years ago

CVE-2021-42581 - Critical Severity Vulnerability

Vulnerable Libraries - ramda-0.26.1.tgz, ramda-0.25.0.tgz

ramda-0.26.1.tgz

A practical functional library for JavaScript programmers.

Library home page: https://registry.npmjs.org/ramda/-/ramda-0.26.1.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/ramda/package.json

Dependency Hierarchy: - serverless-1.57.0.tgz (Root Library) - cli-1.4.0.tgz - core-1.1.2.tgz - :x: **ramda-0.26.1.tgz** (Vulnerable Library)

ramda-0.25.0.tgz

A practical functional library for JavaScript programmers.

Library home page: https://registry.npmjs.org/ramda/-/ramda-0.25.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/@serverless/platform-sdk/node_modules/ramda/package.json

Dependency Hierarchy: - serverless-1.57.0.tgz (Root Library) - enterprise-plugin-3.2.3.tgz - platform-sdk-2.2.1.tgz - :x: **ramda-0.25.0.tgz** (Vulnerable Library)

Found in HEAD commit: c4de98a3ee33ed933132ba45998d6d4f54aa4e6d

Found in base branch: master

Vulnerability Details

Prototype poisoning in function mapObjIndexed in Ramda 0.27.0 and earlier allows attackers to compromise integrity or availability of application via supplying a crafted object (that contains an own property "__proto__") as an argument to the function. NOTE: the vendor disputes this because the observed behavior only means that a user can create objects that the user didn't know would contain custom prototypes

Publish Date: 2022-05-10

URL: CVE-2021-42581

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

Release Date: 2022-05-10

Fix Resolution (ramda): 0.27.1

Direct dependency fix Resolution (serverless): 2.72.2-c1500451

Fix Resolution (ramda): 0.27.1

Direct dependency fix Resolution (serverless): 2.72.2-c1500451


: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 1 year 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.

mend-for-github-com[bot] commented 1 year 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.