Skip to content

Test4#4

Open
SayyantR wants to merge 6 commits into
mainfrom
test4
Open

Test4#4
SayyantR wants to merge 6 commits into
mainfrom
test4

Conversation

@SayyantR
Copy link
Copy Markdown
Owner

@SayyantR SayyantR commented Jul 6, 2023

No description provided.

Comment thread bad3.js

const maliciousObj = { "__proto__": { "oops": "It works !" }};

_.merge(myObj, maliciousObject);
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: Versions of lodash.merge before 4.6.2 are vulnerable to Prototype Pollution. The function 'merge' may allow a malicious user to modify the prototype of Object via proto causing the addition or modification of an existing property that will exist on all objects. Please remediate by updating to version 4.6.2 or later. GHSA-h726-x36v-rx45

Fix: Upgrade this library to at least version 4.6.2 at pr-comment-test/yarn.lock:10.

Reference(s): GHSA-h726-x36v-rx45

Ignore this finding from ssc-086b4e74-9104-4eac-8248-5ee405f69181.

Comment thread bad2.js

const maliciousObj = { "__proto__": { "oops": "It works !" }};

_.merge(myObj, maliciousObject);
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: Versions of lodash.merge before 4.6.2 are vulnerable to Prototype Pollution. The function 'merge' may allow a malicious user to modify the prototype of Object via proto causing the addition or modification of an existing property that will exist on all objects. Please remediate by updating to version 4.6.2 or later. GHSA-h726-x36v-rx45

Fix: Upgrade this library to at least version 4.6.2 at pr-comment-test/yarn.lock:10.

Reference(s): GHSA-h726-x36v-rx45

Ignore this finding from ssc-086b4e74-9104-4eac-8248-5ee405f69181.

Comment thread bad.js

const maliciousObj = { "__proto__": { "oops": "It works !" }};

_.merge(myObj, maliciousObject);
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: lodash 4.17.x before 4.17.12, lodash.defaultsdeep 4.6.x before 4.6.1, lodash.mergewith 4.6.x before 4.6.2, lodash.merge 4.6.x before 4.6.2, and lodash.template 4.5.x before 4.5.0 are vulnerable to improper input validation. Several lodash methods unsafely perform object merges, allowing user input to override object prototypes. Upgrade to lodash 4.17.12, lodash.defaultsdeep 4.6.1, lodash.mergewith 4.6.2, lodash.merge 4.6.2, or lodash.template 4.5.0.

Fix: Upgrade this library to at least version 4.6.2 at pr-comment-test/yarn.lock:15.

Reference(s): GHSA-jf85-cpcp-j695, CVE-2019-10744

Ignore this finding from ssc-a4fd0e64-ce76-449c-8e09-743db9edce4e.

Comment thread bad.js
Comment on lines +19 to +22
function notExposedVuln(args) {
//const args = ["a", "b", "c", "d"]
console.log(minimist(args))
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Fix: Upgrade this library to at least version 1.2.6 at pr-comment-test/yarn.lock:25.

Reference(s): GHSA-xvch-5gv4-984h, CVE-2021-44906

Ignore this finding from ssc-f393d233-855d-49c5-a1c5-7a742519601a.

Comment thread bad.js

const maliciousObj = { "__proto__": { "oops": "It works !" }};

_.merge(myObj, maliciousObject);
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: Versions of lodash.merge before 4.6.2 are vulnerable to Prototype Pollution. The function 'merge' may allow a malicious user to modify the prototype of Object via proto causing the addition or modification of an existing property that will exist on all objects. Please remediate by updating to version 4.6.2 or later. GHSA-h726-x36v-rx45

Fix: Upgrade this library to at least version 4.6.2 at pr-comment-test/yarn.lock:10.

Reference(s): GHSA-h726-x36v-rx45

Ignore this finding from ssc-086b4e74-9104-4eac-8248-5ee405f69181.

Comment thread bad3.js

const maliciousObj = { "__proto__": { "oops": "It works !" }};

_.merge(myObj, maliciousObject);
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: lodash 4.17.x before 4.17.12, lodash.defaultsdeep 4.6.x before 4.6.1, lodash.mergewith 4.6.x before 4.6.2, lodash.merge 4.6.x before 4.6.2, and lodash.template 4.5.x before 4.5.0 are vulnerable to improper input validation. Several lodash methods unsafely perform object merges, allowing user input to override object prototypes. Upgrade to lodash 4.17.12, lodash.defaultsdeep 4.6.1, lodash.mergewith 4.6.2, lodash.merge 4.6.2, or lodash.template 4.5.0.

Fix: Upgrade this library to at least version 4.6.2 at pr-comment-test/yarn.lock:15.

Reference(s): GHSA-jf85-cpcp-j695, CVE-2019-10744

Ignore this finding from ssc-a4fd0e64-ce76-449c-8e09-743db9edce4e.

Comment thread bad3.js
Comment on lines +19 to +22
function notExposedVuln(args) {
//const args = ["a", "b", "c", "d"]
console.log(minimist(args))
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Fix: Upgrade this library to at least version 1.2.6 at pr-comment-test/yarn.lock:25.

Reference(s): GHSA-xvch-5gv4-984h, CVE-2021-44906

Ignore this finding from ssc-f393d233-855d-49c5-a1c5-7a742519601a.

Comment thread bad2.js
Comment on lines +19 to +22
function notExposedVuln(args) {
//const args = ["a", "b", "c", "d"]
console.log(minimist(args))
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Fix: Upgrade this library to at least version 1.2.6 at pr-comment-test/yarn.lock:25.

Reference(s): GHSA-xvch-5gv4-984h, CVE-2021-44906

Ignore this finding from ssc-f393d233-855d-49c5-a1c5-7a742519601a.

Comment thread bad2.js

const maliciousObj = { "__proto__": { "oops": "It works !" }};

_.merge(myObj, maliciousObject);
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: lodash 4.17.x before 4.17.12, lodash.defaultsdeep 4.6.x before 4.6.1, lodash.mergewith 4.6.x before 4.6.2, lodash.merge 4.6.x before 4.6.2, and lodash.template 4.5.x before 4.5.0 are vulnerable to improper input validation. Several lodash methods unsafely perform object merges, allowing user input to override object prototypes. Upgrade to lodash 4.17.12, lodash.defaultsdeep 4.6.1, lodash.mergewith 4.6.2, lodash.merge 4.6.2, or lodash.template 4.5.0.

Fix: Upgrade this library to at least version 4.6.2 at pr-comment-test/yarn.lock:15.

Reference(s): GHSA-jf85-cpcp-j695, CVE-2019-10744

Ignore this finding from ssc-a4fd0e64-ce76-449c-8e09-743db9edce4e.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant