| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Fixes: 966aef0927e2 ("Reimplement (incompletely) simplistic NVD parser to handle JSON feed")
Signed-off-by: Salvatore Bonaccorso <carnil@debian.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@14116 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Tempoarily normalize CAN to CVE.
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@2512 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
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
|