Skip to content

Commit 5edd99c

Browse files
authored
Merge pull request #989 from forcedotcom/rm/3.10ReleaseUpdates
2 parents 00c150a + 1db8695 commit 5edd99c

File tree

3 files changed

+31
-3
lines changed

3 files changed

+31
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@salesforce/sfdx-scanner",
33
"description": "Static code scanner that applies quality and security rules to Apex code, and provides feedback.",
4-
"version": "3.9.0",
4+
"version": "3.10.0",
55
"author": "ISV SWAT",
66
"bugs": "https://github.com/forcedotcom/sfdx-scanner/issues",
77
"dependencies": {

retire-js/RetireJsVulns.json

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2834,7 +2834,7 @@
28342834
{
28352835
"below": "1.12.1",
28362836
"atOrAbove": "1.3.2",
2837-
"severity": "High",
2837+
"severity": "high",
28382838
"identifiers": {
28392839
"summary": " vulnerable to Arbitrary Code Injection via the template function",
28402840
"CVE": [
@@ -3836,6 +3836,34 @@
38363836
]
38373837
}
38383838
},
3839+
"chart.js": {
3840+
"vulnerabilities": [
3841+
{
3842+
"below": "2.9.4",
3843+
"severity": "high",
3844+
"identifiers": {
3845+
"summary": "Prototype pollution in chart.js",
3846+
"CVE": [
3847+
"CVE-2020-7746"
3848+
]
3849+
},
3850+
"info": [
3851+
"https://github.com/advisories/GHSA-h68q-55jf-x68w"
3852+
]
3853+
}
3854+
],
3855+
"extractors": {
3856+
"uri": [
3857+
"/Chart.js/(§§version§§)/chart(\\.min)?\\.js",
3858+
"/Chart.js/(§§version§§)/Chart.bundle(\\.min)?\\.js"
3859+
],
3860+
"filecontent": [
3861+
"var version=\"(§§version§§)\";const KNOWN_POSITIONS=\\[\"top\",\"bottom\",\"left\",\"right\",\"chartArea\"\\]",
3862+
"/\\*![\\s]+\\* Chart.js v(§§version§§)",
3863+
"/\\*![\\s]+\\* Chart.js[\\s]+\\* http://chartjs.org/[\\s]+\\* Version: (§§version§§)"
3864+
]
3865+
}
3866+
},
38393867
"dont check": {
38403868
"extractors": {
38413869
"uri": [

sfge/src/main/java/com/salesforce/rules/Violation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ public LimitReachedViolation(String message, SFVertex vertex) {
323323
this.category = INTERNAL_ERROR_CATEGORY;
324324
this.description = "";
325325
this.severity = AbstractRule.SEVERITY.LOW.code;
326-
this.url = "https://forcedotcom.github.io/sfdx-scanner/en/v3.x/salesforce-graph-engine/working-with-sfge/";
326+
this.url = "https://forcedotcom.github.io/sfdx-scanner/en/v3.x/salesforce-graph-engine/working-with-sfge/#understand-outofmemory-errors";
327327
}
328328
}
329329

0 commit comments

Comments
 (0)