summaryrefslogtreecommitdiffstats
path: root/lib/python/nvd.py
Commit message (Collapse)AuthorAgeFilesLines
* nvd.py: Fix typo in Parser when issueing error (VAlueError -> ValueError)Salvatore Bonaccorso2020-03-041-1/+1
| | | | | Fixes: 966aef0927e2 ("Reimplement (incompletely) simplistic NVD parser to handle JSON feed") Signed-off-by: Salvatore Bonaccorso <carnil@debian.org>
* Reimplement (incompletely) simplistic NVD parser to handle JSON feedSalvatore Bonaccorso2019-10-201-68/+59
| | | | | | | | | | | | | | The reimplementation is focused on only the functionality actually strictly required by the security-tracker. This includes fetching the CVE id and corresponding description. All of specific imapct metrics (severity, range, loss attributes) are not implemented. Those will require a database schema version bump and reimplementation as well for the security_db. Closes: #942670 Signed-off-by: Salvatore Bonaccorso <carnil@debian.org>
* nvd.py: Add missing note that CVE description is returnedSalvatore Bonaccorso2019-10-201-0/+1
|
* Replace file() with open() for Python 3 compatabilityBrian May2019-03-041-1/+1
|
* Replace "x.has_key(y)" with "y in x" syntaxBrian May2018-08-201-3/+3
|
* Convert URLs from http to https where it seems safe to do soPaul Wise2018-01-171-1/+1
|
* support changes in nvd schema for remote and local issuesMichael Gilbert2010-02-171-13/+6
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@14116 e39458fd-73e7-0310-bf30-c45bca0a0e42
* * lib/python/nvd.py:Florian Weimer2007-06-261-1/+6
| | | | | | | | Make runnable as a script, for testing purposes. (Parser.characters): Keep whole node string, not just the last part. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@6061 e39458fd-73e7-0310-bf30-c45bca0a0e42
* Store CVE descriptions in the nvd_data table. Enable incrementalFlorian Weimer2005-12-171-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | NVD updates. lib/python/security_db.py (DB): Bump schema version. Add cve_desc column to the nvd_data table. (DB.updateNVD): New method. bin/update-nvd: If the -i option is specified, use updateNVD instead of replaceNVD. lib/python/nvd.py (_Parser): Add new member variable path. (_Parser.characters): New method. (_Parser.endElement): Store cve_desc variable. bin/tracker_service.py (TrackerService.page_bug): Use NVD description if available. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@3078 e39458fd-73e7-0310-bf30-c45bca0a0e42
* lib/python/nvd.py (_Parser.endElement):Florian Weimer2005-10-201-1/+5
| | | | | | | Tempoarily normalize CAN to CVE. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@2512 e39458fd-73e7-0310-bf30-c45bca0a0e42
* r638@deneb: fw | 2005-10-14 15:43:12 +0200Florian Weimer2005-10-201-0/+116
bin/tracker_service.py (TrackerService.page_home): Document external interfaces. (TrackerService.page_bug): Add NVD references. (TrackerService.page_status_release_stable, TrackerService.page_status_release_testing): Show NVD remote attack range if present. (TrackerService.url_nvd, TrackerService.make_nvd_ref): New. lib/python/security_db.py (NVDEntry): New class. (DB.initSchema): New nvd_data table. Update stable_status and testing_status views. (DB.replaceNVD, DB.getNVD): New methods. bin/update-nvd, lib/python/nvd.py: New files. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@2488 e39458fd-73e7-0310-bf30-c45bca0a0e42

© 2014-2024 Faster IT GmbH | imprint | privacy policy