-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Nicola Coretti <[email protected]>
- Loading branch information
1 parent
b0a7037
commit a986d81
Showing
8 changed files
with
103 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ Create a GitHub CLI mock | |
|
||
$ cat > gh <<EOF | ||
> #!/usr/bin/sh | ||
> echo https://github.com/exasol/a-project/issues/`uuidgen` | ||
> echo https://github.com/exasol/a-project/issues/123 | ||
> EOF | ||
|
||
$ chmod u+x gh | ||
|
@@ -18,6 +18,30 @@ Create test input | |
|
||
Run test case | ||
|
||
$ tbx security cve create cves.jsonl 2> /dev/null | grep . | ||
https://github.com/exasol/a-project/issues/[a-f0-9\-]+ (re) | ||
https://github.com/exasol/a-project/issues/[a-f0-9\-]+ (re) | ||
$ tbx security cve create cves.jsonl 2> /dev/null | python -m json.tool --json-lines | ||
{ | ||
"cve": "CVE-2023-39410", | ||
"cwe": "CWE-502", | ||
"description": "When deserializing untrusted or corrupted data, it is possible for a reader to consume memory beyond the allowed constraints and thus lead to out of memory on the system.\n\nThis issue affects Java applications using Apache Avro Java SDK up to and including 1.11.2. Users should update to apache-avro version 1.11.3 which addresses this issue.\n\n", | ||
"coordinates": "pkg:maven/org.apache.avro/[email protected]", | ||
"references": [ | ||
"https://ossindex.sonatype.org/vulnerability/CVE-2023-39410?component-type=maven&component-name=org.apache.avro%2Favro&utm_source=ossindex-client&utm_medium=integration&utm_content=1.8.1", | ||
"http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-39410", | ||
"https://github.com/apache/avro/pull/2432", | ||
"https://issues.apache.org/jira/browse/AVRO-3819", | ||
"https://lists.apache.org/thread/q142wj99cwdd0jo5lvdoxzoymlqyjdds" | ||
], | ||
"url": "https://github.com/exasol/a-project/issues/123" | ||
} | ||
{ | ||
"cve": "CVE-2020-36641", | ||
"cwe": "CWE-611", | ||
"description": "A vulnerability classified as problematic was found in gturri aXMLRPC up to 1.12.0. This vulnerability affects the function ResponseParser of the file src/main/java/de/timroes/axmlrpc/ResponseParser.java. The manipulation leads to xml external entity reference. Upgrading to version 1.12.1 is able to address this issue. The patch is identified as ad6615b3ec41353e614f6ea5fdd5b046442a832b. It is recommended to upgrade the affected component. VDB-217450 is the identifier assigned to this vulnerability.\n\nSonatype's research suggests that this CVE's details differ from those defined at NVD. See https://ossindex.sonatype.org/vulnerability/CVE-2020-36641 for details", | ||
"coordinates": "pkg:maven/fr.turri/[email protected]", | ||
"references": [ | ||
"https://ossindex.sonatype.org/vulnerability/CVE-2020-36641?component-type=maven&component-name=fr.turri%2FaXMLRPC&utm_source=ossindex-client&utm_medium=integration&utm_content=1.8.1", | ||
"http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-36641", | ||
"https://www.tenable.com/cve/CVE-2020-36641" | ||
], | ||
"url": "https://github.com/exasol/a-project/issues/123" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters