Skip to content

Commit e3dbbfa

Browse files
Add vulnerability ignore for CVE-2022-33171
1 parent 155753a commit e3dbbfa

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

WORKSPACE.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,15 @@ provenance:
3333
slsa: true
3434
sbom:
3535
enabled: true
36+
ignoreVulnerabilities:
37+
- vulnerability: CVE-2022-33171
38+
reason: |
39+
This vulnerability in TypeORM's findOne / findOneOrFail functions can improperly interpret a crafted JSON object
40+
and concatenate it into raw SQL, potentially allowing SQL injection attacks.
41+
42+
In Gitpod’s usage, TypeORM is not exposed to arbitrary user input. For example, DB migrations run preset queries;
43+
the server/bridge code does not hand raw JSON from external sources to findOne. Therefore, there is no path for
44+
injecting malicious JSON into a query, rendering the vulnerability non-exploitable.
3645
environmentManifest:
3746
- name: "go"
3847
command: ["sh", "-c", "go version | sed s/arm/amd/"]

0 commit comments

Comments
 (0)