CVEHunter - Async python wrapper for CVE/CPE data
CVEHunter is a Python asynchronous library designed to simplify the retrieval of CVE (Common Vulnerabilities and Exposures) and CPE (Common Platform Enumeration) information using the NVD API. It streamlines the process of searching for and accessing valuable security data for vulnerability assessment and management.
Installation
pip3 install cvehunter
Example
Code:
import asyncio
from cvehunter import CveHunter
async def test() -> None:
ch = CveHunter()
cve = await ch.search_by_cve("CVE-2023-41991")
print(cve.cve_id)
print(cve.cwe_id)
print(cve.description)
print(cve.cvss_v3)
print(cve.references)
asyncio.run(test())
Output:
CVE-2023-41991
CWE-295
A certificate validation issue was addressed. This issue is fixed in macOS Ventura 13.6, iOS 16.7 and iPadOS 16.7. A malicious app [...]
{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N', 'severity': 'MEDIUM', 'version': 3.1, 'exploitability': 1.8, 'impact': 3.6}
['http://seclists.org/fulldisclosure/2023/Oct/5', 'https://support.apple.com/en-us/HT213927', 'https://support.apple.com/en-us/HT213931']
Documentation
The documentation is hosted on readthedocs, check it here
TODO
- Change history
- Better filters
Contributing
Contributions are welcome! If you'd like to contribute to CVEHunter, please follow the guidelines outlined in the Contributing Guide.
License
This project is licensed under the MIT License.
Metadata
Release files for cvehunter 1.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cvehunter-1.0.6.tar.gz | 9.1 kB | Without provenance | Details for cvehunter-1.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cvehunter-1.0.6-py3-none-any.whl | Python 3 | none | any | Details for cvehunter-1.0.6-py3-none-any.whl |
Total release size: 17.1 kB
Release files / cvehunter-1.0.6.tar.gz
| Download URL | cvehunter-1.0.6.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9c7e65925e6802f335466fd9bae5593905c5d88c5663bd9e99c4e8a566182646
|
|
BLAKE2b-256 checksum How to use checksums |
94f7d9acbed9276fe37107ac245e55b19cdebd0d6a2c48c59755baaca364b7c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / cvehunter-1.0.6-py3-none-any.whl
| Download URL | cvehunter-1.0.6-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4b6891309b826a15c310ca2fc0c495c5945a90e831b54fde6456490908437a7c
|
|
BLAKE2b-256 checksum How to use checksums |
40d6a8c598f52d8893717d2adfd6021ee2ab6a49864038d4d1623432b761f119
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Security for cvehunter 1.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.