-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Begin work on patch-based tests #597
Reference: #597 Reference: #935 Signed-off-by: John M. Horan <[email protected]>
- Loading branch information
1 parent
6be3186
commit cce5f23
Showing
5 changed files
with
108 additions
and
192 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
Empty file.
54 changes: 54 additions & 0 deletions
54
vulnerabilities/tests/test_data/archlinux/archlinux-multi.json
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 |
---|---|---|
@@ -0,0 +1,54 @@ | ||
[ | ||
{ | ||
"name": "AVG-2781", | ||
"packages": [ | ||
"python-pyjwt" | ||
], | ||
"status": "Unknown", | ||
"severity": "Unknown", | ||
"type": "unknown", | ||
"affected": "2.3.0-1", | ||
"fixed": "2.4.0-1", | ||
"ticket": null, | ||
"issues": [ | ||
"CVE-2022-29217" | ||
], | ||
"advisories": [] | ||
}, | ||
{ | ||
"name": "AVG-2780", | ||
"packages": [ | ||
"wpewebkit" | ||
], | ||
"status": "Unknown", | ||
"severity": "Unknown", | ||
"type": "unknown", | ||
"affected": "2.36.3-1", | ||
"fixed": "2.36.4-1", | ||
"ticket": null, | ||
"issues": [ | ||
"CVE-2022-26710", | ||
"CVE-2022-22677", | ||
"CVE-2022-22662" | ||
], | ||
"advisories": [] | ||
}, | ||
{ | ||
"name": "AVG-4", | ||
"packages": [ | ||
"bzip2" | ||
], | ||
"status": "Fixed", | ||
"severity": "Low", | ||
"type": "denial of service", | ||
"affected": "1.0.6-5", | ||
"fixed": "1.0.6-6", | ||
"ticket": null, | ||
"issues": [ | ||
"CVE-2016-3189" | ||
], | ||
"advisories": [ | ||
"ASA-201702-19" | ||
] | ||
} | ||
] |
36 changes: 36 additions & 0 deletions
36
vulnerabilities/tests/test_data/archlinux/parse-advisory-archlinux-expected.json
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
[ | ||
{ | ||
"aliases": [ | ||
"CVE-2022-29217", | ||
"AVG-2781" | ||
], | ||
"summary": "", | ||
"affected_packages": [ | ||
{ | ||
"package": { | ||
"type": "alpm", | ||
"namespace": "archlinux", | ||
"name": "python-pyjwt", | ||
"version": null, | ||
"qualifiers": null, | ||
"subpath": null | ||
}, | ||
"affected_version_range": "vers:alpm/2.3.0-1", | ||
"fixed_version": "2.4.0-1" | ||
} | ||
], | ||
"references": [ | ||
{ | ||
"reference_id": "AVG-2781", | ||
"url": "https://security.archlinux.org/AVG-2781", | ||
"severities": [ | ||
{ | ||
"system": "archlinux", | ||
"value": "Unknown" | ||
} | ||
] | ||
} | ||
], | ||
"date_published": null | ||
} | ||
] |