juicetin / CPagerank

1 stars 0 forks source link

Vulnerabilities Dashboard - Code #1

Open justin-nullify[bot] opened 5 months ago

justin-nullify[bot] commented 5 months ago

Severity Threshold: 🔵 MEDIUM

5 Potential vulnerability sources found within this repo

🔴 CRITICAL 🟡 HIGH 🔵 MEDIUM ⚪ LOW
0 0 5 0

ID: 01HT174QQGJPKRABDGH6EQ6SRE Language: C/C++ Severity: 🔵 MEDIUM CWE-788

Array 'pResult[4]' accessed at index 19, which is out of bounds.

Array 'pResult[4]' accessed at index 19, which is out of bounds.. Array index out of bounds Read more: https://cwe.mitre.org/data/definitions/788.html https://github.com/juicetin/CPagerank/blob/3afc09c7758efbac9c142daa8e1af992ac2bb226/SSEtest.c#L72 # ID: 01HT174QQGJPKRABDGH8V0H173 Language: C/C++ Severity: 🔵 MEDIUM CWE-788

Array 'pResult[4]' accessed at index 19, which is out of bounds.

Array 'pResult[4]' accessed at index 19, which is out of bounds.. Assuming that condition 'i<20' is not redundant Read more: https://cwe.mitre.org/data/definitions/788.html https://github.com/juicetin/CPagerank/blob/3afc09c7758efbac9c142daa8e1af992ac2bb226/SSEtest.c#L70 # ID: 01HT174QQGJPKRABDGHAD9SZ69 Language: C/C++ Severity: 🔵 MEDIUM CWE-457

Uninitialized variable: l

Uninitialized variable: l. Read more: https://cwe.mitre.org/data/definitions/457.html https://github.com/juicetin/CPagerank/blob/3afc09c7758efbac9c142daa8e1af992ac2bb226/rogue.c#L5 # ID: 01HT174QQGJPKRABDGHBKQ2GDC Language: C/C++ Severity: 🔵 MEDIUM CWE-457

Uninitialized variable: h

Uninitialized variable: h. Read more: https://cwe.mitre.org/data/definitions/457.html https://github.com/juicetin/CPagerank/blob/3afc09c7758efbac9c142daa8e1af992ac2bb226/rogue.c#L6 # ID: 01HT174QQGJPKRABDGHF9H0X7H Language: C/C++ Severity: 🔵 MEDIUM CWE-457

Uninitialized variable: sum->start

Uninitialized variable: sum->start. Read more: https://cwe.mitre.org/data/definitions/457.html https://github.com/juicetin/CPagerank/blob/3afc09c7758efbac9c142daa8e1af992ac2bb226/test.c#L17

Reply with /nullify to interact with me like another developer

justin-nullify[bot] commented 5 months ago

New code security updates for commit 3afc09c7758efbac9c142daa8e1af992ac2bb226

New Fixed Allowlisted Unallowlisted
5 0 0 0
See Details ### New Findings | ID | Title | File | Line | CWE | |-|-|-|-|-| | 01HT174QQGJPKRABDGH6EQ6SRE | Array 'pResult[4]' accessed at index 19, which is out of bounds. | SSEtest.c | 72 | 788 | | 01HT174QQGJPKRABDGH8V0H173 | Array 'pResult[4]' accessed at index 19, which is out of bounds. | SSEtest.c | 70 | 788 | | 01HT174QQGJPKRABDGHAD9SZ69 | Uninitialized variable: l | rogue.c | 5 | 457 | | 01HT174QQGJPKRABDGHBKQ2GDC | Uninitialized variable: h | rogue.c | 6 | 457 | | 01HT174QQGJPKRABDGHF9H0X7H | Uninitialized variable: sum->start | test.c | 17 | 457 |