The NetBSD Project

CVS log for pkgsrc/security/py-nvdlib/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / security / py-nvdlib

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Oct 26 05:54:18 2026 UTC (3 weeks ago) by adam
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -5 lines
py-nvdlib: updated to 0.9.0

0.9.0 (2026-09-27)

**Breaking**
- Removed the `verbose` parameter from `searchCVE` and `searchCVE_V2`. It has done nothing since 0.7.8. Use the Python logging module instead, see https://nvdlib.com/en/latest/v2/startedv2.html#logging

**Bugfixes**
- Capped the `searchCPEmatch` limit at 500, the Match Criteria API maximum.
- Fixed CPE match generator requests being sent to the CPE URL.
- Stopped requesting an extra empty page when the total results are an exact multiple of the page size.
- Fixed the `pubStartDate` error message showing `pubEndDate`.
- Corrected CVE, CPE, and match string docstrings to match the live API field names, such as `cisaExploitAdd` and `lastModified`.

**Enhancements**
- Added `asDict` to every search function to return the plain dictionaries from the NVD API instead of objects.
- Added `searchCVEHistory` and `searchCVEHistory_V2` for the CVE Change History API.
- Added `searchSource` and `searchSource_V2` for the Source API.
- Added `cveIds`, `cveTag`, `kevStartDate`, and `kevEndDate` to `searchCVE` and `searchCVE_V2`.
- Added `searchCPEmatch_V2` and the `proxies` parameter to `searchCPEmatch`.
- CVSS 3.1, 3.0, and 2.0 scores now use the Primary metric when one is present, the same as CVSS 4.0.
- `cpe` now includes the CPE matches from every configuration node, not just the first.
- Added `ssvc` to CVE objects when the CVE includes SSVC data.
- HTTP errors now include the reason NVD returns in the `message` header.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Oct 9 07:57:56 2025 UTC (13 months, 1 week ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
*: remove reference to (removed) Python 3.9

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Sep 2 07:29:46 2025 UTC (14 months, 2 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q3-base, pkgsrc-2025Q3
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -2 lines
py-nvdlib: updated to 0.8.3

0.8.3

Fixed an issue with searchCPEmatch where batching/paging did not work correctly
Modified to paging logic to better align with NIST published best practices for the NVD AP

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Apr 14 05:09:33 2025 UTC (19 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q2-base, pkgsrc-2025Q2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3 lines
py-nvdlib: updated to 0.8.0

0.8.0 (2025-03-19)
**Bugfixes**
- Fixed passing the boolean to the URL on hasKev, hasOval, hasCertAlerts, hasCertNotes, and keyworkExactMatch

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Jan 14 06:43:18 2025 UTC (22 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
py-nvdlib: updated to 0.7.9

0.7.9 (2025-01-13)

**Enhancements**
- Added missing CVSS 3.0 data for `attackVector`, `attackComplexity`, `privilegesRequired`, `userInteraction`, `scope`, `confidentialityImpact`, `integrityImpact`, and `availabilityImpact` as reported from https://github.com/vehemont/nvdlib/issues/48
- Added basic CVSS 4.0 data: `v40score`, `v40vector`, and `v40severity` in CVEs.
- Merged https://github.com/vehemont/nvdlib/pull/49 and https://github.com/vehemont/nvdlib/pull/50 to add more type hints and also fixes the MatchString search. Courtesy of @LachJones.
- Increased minimum required Python version to `3.11` or later from Python 3.8.3. This opens up some cooler features and fixed a compatibility issue with `LiteralString` not being available until 3.11.

0.7.8 (2024-07-11)

**Enhancements**
- Merged https://github.com/vehemont/nvdlib/pull/44
 - Updated delay parameter to a float.
 - Removed verbose in favor of the Python logging module.

 To try out the new logging addition, try the simple logger configuration below. It will create a file named "example_NVDLib.log" and will log NVDLib and Requests actions into the file. Syntax errors/HTTP server errors are logging level of "error", URLs requested (similar output to the previous `verbose` parameter) are set to "debug".
 ```
 import logging
 import nvdlib

 logging.basicConfig(filename='example_NVDLib.log', encoding='utf-8', level=logging.DEBUG)
r = nvdlib.searchCVE(keywordSearch="Microsoft")
```

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Nov 11 07:28:55 2024 UTC (2 years ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -2 lines
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Aug 22 09:56:57 2024 UTC (2 years, 2 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base, pkgsrc-2024Q3
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +5 -6 lines
py-nvdlib: updated to 0.7.7

0.7.7 (2024-06-02)

**Bugfixes**
- Fix cwe attr in CVE by @jobselko in https://github.com/vehemont/nvdlib/pull/39

**Enhancements**
- Added CPE Match String API with `nvdlib.searchCPEmatch`, check out the documentation at https://nvdlib.com/en/latest/v2/CVEv2.html#CPE-Match-Criteria-API and more information can be found at the NVD API documentation page: https://nvd.nist.gov/developers/products

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Nov 19 01:16:31 2023 UTC (2 years, 11 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4
security/py-nvdlib: import py-nvdlib-0.7.6

NVDlib is a Python library that allows you to interface with the
NIST National Vulnerability Database (NVD), pull vulnerabilities
(CVEs), and Common Platform Enumeration (CPEs) into easily accessible
objects.

### Features

- Search the NVD for CVEs using all parameters allowed by the NVD
  API (recently updated to utilize version 2 of the API). Including
  search criteria such as CVE publish and modification date, keywords,
  severity, score, or CPE name.
- Search CPE names by keywords, CPE match strings, or modification
  dates. Then pull the CVE ID's that are relevant to those CPEs.
- Retrieve details on individual CVEs, their relevant CPE names,
  and more.
- Built in rate limiting according to NIST NVD recommendations.
  Get an API key to allow for a delay argument to be passed. Otherwise
  it is 6 seconds between requests by default.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>