Skip to content

new files#2

Open
SayyantR wants to merge 6 commits into
mainfrom
test2
Open

new files#2
SayyantR wants to merge 6 commits into
mainfrom
test2

Conversation

@SayyantR
Copy link
Copy Markdown
Owner

No description provided.

@SayyantR SayyantR closed this Jun 23, 2023
@SayyantR SayyantR reopened this Jun 23, 2023
@SayyantR SayyantR closed this Jul 5, 2023
@SayyantR SayyantR reopened this Jul 5, 2023
Comment thread bad.py
@@ -0,0 +1 @@
x = 5 == 5 No newline at end of file
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

5 == 5 is a useless equality check

Ignore this finding from eqeq-is-bad.

@dev-semgrep-app
Copy link
Copy Markdown

Semgrep found 1 eqeq-is-bad finding:

  • bad.py: L1

5 == 5 is a useless equality check

Ignore this finding from eqeq-is-bad.

@SayyantR SayyantR closed this Jul 5, 2023
@SayyantR SayyantR reopened this Jul 5, 2023
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 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

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.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

/semgrep-ignore emergency

@dev-semgrep-app
Copy link
Copy Markdown

Semgrep found 1 ssc-086b4e74-9104-4eac-8248-5ee405f69181 finding:

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.

Semgrep found 1 ssc-a4fd0e64-ce76-449c-8e09-743db9edce4e finding:

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.

Semgrep found 1 ssc-f393d233-855d-49c5-a1c5-7a742519601a finding:

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.

@SayyantR SayyantR closed this Jul 6, 2023
@SayyantR SayyantR reopened this Jul 6, 2023
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.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

/semgrep ignore emergency

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