Simple package that given a CVE desription tries to extract useful semantics from it using NLP
Project description
CVE analyzer
This project aims to extract from a collection of vulnerabilities report expressed in common English language various semantic information. These semantic information are encoded and retrieved using Name Entity recognition (NER) on the description and currently the available labels are the following:
- FUNCTION: Vulnerable function name.
- VERSION: Vulnerable version of the target program.
- SOURCECE: Path to the source code that contains the vulnerable function/functions.
- DRIVER: Driver that we the attacker needs to interact with to trigger the exploit.
- STRUCT: Malformed struct that contains the bug.
- VULNERABILITY: Type of the vulnerability (e.g. buffer overflow, etc...).
- CAPABILITY: Capability that the attacker gains after a successful exploitation of the vulnerability (e.g. remote code execution, etc...).
Dataset
The dataset on which the initial state of the project has been developed and tested on is the list of Common Vulnerability Exposure (CVE) regarding the Linux kernel for the years 2017 and 2018 (for this first implementation). The dataset can be found on the website CVE detail
The dataset is formatted as a Comma Separated Values (CSV) but it has been simplified from it's original version and only the description fields has been taken into account.
Installation
Install the project and al its dependencies with:
pip install cve_analyzer
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cve_analyzer-0.0.4.tar.gz
.
File metadata
- Download URL: cve_analyzer-0.0.4.tar.gz
- Upload date:
- Size: 12.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86c6542013bf7a85055c8b07a87a39c54666cc1bdf6e868cc12da48ec9e9e3af |
|
MD5 | 6544e9feccb236208690eda34cd53053 |
|
BLAKE2b-256 | 8386ca2dc5c8b88d8dd6f2bed148d4623296d1d656e2767f96231488e40495fd |
File details
Details for the file cve_analyzer-0.0.4-py2.py3-none-any.whl
.
File metadata
- Download URL: cve_analyzer-0.0.4-py2.py3-none-any.whl
- Upload date:
- Size: 12.1 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5182822e1aba293c768414b43b374a1955b535ff2e7a3e269c36b6063b7c10ab |
|
MD5 | 438cc049cfee2dc62ba8210d60389f45 |
|
BLAKE2b-256 | 0d5e36f21af0453abb3b3f1026c2ca8a22369a6853284079569017f475898a50 |