-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #563 from enzbang/fix-cve-test
Fix CVE test by using a simpler cache
- Loading branch information
Showing
7 changed files
with
5,681 additions
and
4 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
Binary file not shown.
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,200 @@ | ||
{ | ||
"created_at": "2023-03-08T11:37:29.224743", | ||
"elapsed": 1.971946, | ||
"encoding": "utf-8", | ||
"headers": { | ||
"content-type": "application/json", | ||
"content-encoding": "gzip", | ||
"vary": "Accept-Encoding", | ||
"x-frame-options": "SAMEORIGIN", | ||
"access-control-allow-origin": "*", | ||
"access-control-allow-headers": "accept, apiKey, content-type, origin, x-requested-with", | ||
"access-control-allow-methods": "GET, HEAD, OPTIONS", | ||
"access-control-allow-credentials": "false", | ||
"date": "Wed, 08 Mar 2023 11:37:29 GMT", | ||
"Content-Length": "3224", | ||
"apikey": "No", | ||
"strict-transport-security": "max-age=31536000" | ||
}, | ||
"reason": "OK", | ||
"request": { | ||
"body": "", | ||
"headers": { | ||
"Accept": "*/*", | ||
"Accept-Encoding": "deflate, gzip", | ||
"Connection": "keep-alive", | ||
"User-Agent": "python-requests/2.28.2" | ||
}, | ||
"method": "GET", | ||
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cpeName=cpe:2.3:a:libpng:libpng:1.6.0:-:*:*:*:*:*:*&isVulnerable&noRejected&resultsPerPage=5&startIndex=10" | ||
}, | ||
"status_code": 200, | ||
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cpeName=cpe:2.3:a:libpng:libpng:1.6.0:-:*:*:*:*:*:*&isVulnerable&noRejected&resultsPerPage=5&startIndex=10", | ||
"_decoded_content": { | ||
"resultsPerPage": 1, | ||
"startIndex": 10, | ||
"totalResults": 11, | ||
"format": "NVD_CVE", | ||
"version": "2.0", | ||
"timestamp": "2023-03-08T11:37:29.247", | ||
"vulnerabilities": [ | ||
{ | ||
"cve": { | ||
"id": "CVE-2021-4214", | ||
"sourceIdentifier": "[email protected]", | ||
"published": "2022-08-24T16:15:10.037", | ||
"lastModified": "2022-11-08T02:32:10.533", | ||
"vulnStatus": "Analyzed", | ||
"descriptions": [ | ||
{ | ||
"lang": "en", | ||
"value": "A heap overflow flaw was found in libpngs' pngimage.c program. This flaw allows an attacker with local network access to pass a specially crafted PNG file to the pngimage utility, causing an application to crash, leading to a denial of service." | ||
}, | ||
{ | ||
"lang": "es", | ||
"value": "Se ha encontrado un fallo de desbordamiento de la pila en el programa pngimage.c de libpngs. Este fallo permite a un atacante con acceso a la red local pasar un archivo PNG especialmente dise\u00f1ado a la utilidad pngimage, causando un fallo en la aplicaci\u00f3n, conllevando a una denegaci\u00f3n de servicio." | ||
} | ||
], | ||
"metrics": { | ||
"cvssMetricV31": [ | ||
{ | ||
"source": "[email protected]", | ||
"type": "Primary", | ||
"cvssData": { | ||
"version": "3.1", | ||
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H", | ||
"attackVector": "LOCAL", | ||
"attackComplexity": "LOW", | ||
"privilegesRequired": "NONE", | ||
"userInteraction": "REQUIRED", | ||
"scope": "UNCHANGED", | ||
"confidentialityImpact": "NONE", | ||
"integrityImpact": "NONE", | ||
"availabilityImpact": "HIGH", | ||
"baseScore": 5.5, | ||
"baseSeverity": "MEDIUM" | ||
}, | ||
"exploitabilityScore": 1.8, | ||
"impactScore": 3.6 | ||
} | ||
] | ||
}, | ||
"weaknesses": [ | ||
{ | ||
"source": "[email protected]", | ||
"type": "Primary", | ||
"description": [ | ||
{ | ||
"lang": "en", | ||
"value": "CWE-120" | ||
} | ||
] | ||
}, | ||
{ | ||
"source": "[email protected]", | ||
"type": "Secondary", | ||
"description": [ | ||
{ | ||
"lang": "en", | ||
"value": "CWE-787" | ||
} | ||
] | ||
} | ||
], | ||
"configurations": [ | ||
{ | ||
"nodes": [ | ||
{ | ||
"operator": "OR", | ||
"negate": false, | ||
"cpeMatch": [ | ||
{ | ||
"vulnerable": true, | ||
"criteria": "cpe:2.3:a:libpng:libpng:1.6.0:-:*:*:*:*:*:*", | ||
"matchCriteriaId": "42882881-6827-4123-B217-FC9B4C36702A" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"nodes": [ | ||
{ | ||
"operator": "OR", | ||
"negate": false, | ||
"cpeMatch": [ | ||
{ | ||
"vulnerable": true, | ||
"criteria": "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*", | ||
"matchCriteriaId": "07B237A9-69A3-4A9C-9DA0-4E06BD37AE73" | ||
}, | ||
{ | ||
"vulnerable": true, | ||
"criteria": "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*", | ||
"matchCriteriaId": "FA6FEEC2-9F11-4643-8827-749718254FED" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"nodes": [ | ||
{ | ||
"operator": "OR", | ||
"negate": false, | ||
"cpeMatch": [ | ||
{ | ||
"vulnerable": true, | ||
"criteria": "cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*", | ||
"matchCriteriaId": "E7CF3019-975D-40BB-A8A4-894E62BD3797" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
], | ||
"references": [ | ||
{ | ||
"url": "https://access.redhat.com/security/cve/CVE-2021-4214", | ||
"source": "[email protected]", | ||
"tags": [ | ||
"Third Party Advisory" | ||
] | ||
}, | ||
{ | ||
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2043393", | ||
"source": "[email protected]", | ||
"tags": [ | ||
"Exploit", | ||
"Issue Tracking", | ||
"Third Party Advisory" | ||
] | ||
}, | ||
{ | ||
"url": "https://github.com/glennrp/libpng/issues/302", | ||
"source": "[email protected]", | ||
"tags": [ | ||
"Exploit", | ||
"Third Party Advisory" | ||
] | ||
}, | ||
{ | ||
"url": "https://security-tracker.debian.org/tracker/CVE-2021-4214", | ||
"source": "[email protected]", | ||
"tags": [ | ||
"Third Party Advisory" | ||
] | ||
}, | ||
{ | ||
"url": "https://security.netapp.com/advisory/ntap-20221020-0001/", | ||
"source": "[email protected]", | ||
"tags": [ | ||
"Third Party Advisory" | ||
] | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} |
Oops, something went wrong.