Upload folder using huggingface_hub
Browse files- README.md +29 -5
- data.jsonl +2 -2
- data.parquet +2 -2
README.md
CHANGED
|
@@ -54,8 +54,11 @@ code state, and the commit diff is ground truth for the flaw and its fix.
|
|
| 54 |
| `upstream_fix_commit` | Primary upstream fix commit SHA (first resolved) |
|
| 55 |
| `upstream_repo_url` | Upstream repository URL for that commit |
|
| 56 |
| `upstream_fix_commits` | All resolved commits: `{repo_url, commit, ref_url, source}` |
|
| 57 |
-
| `upstream_affected_versions` | Affected upstream version ranges (
|
| 58 |
-
| `upstream_fixed_versions` | Fixed upstream versions (
|
|
|
|
|
|
|
|
|
|
| 59 |
| `resolution_source` | How the commit was resolved: `redhat_vex` (commit URL present in Red Hat's own references) or `cvelist` (CVE.org record) |
|
| 60 |
|
| 61 |
## Construction
|
|
@@ -70,6 +73,14 @@ code state, and the commit diff is ground truth for the flaw and its fix.
|
|
| 70 |
upstream affected/fixed versions.
|
| 71 |
|
| 72 |
4. Dropped rows without a resolvable upstream commit.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
|
| 74 |
## Statistics
|
| 75 |
|
|
@@ -82,12 +93,25 @@ code state, and the commit diff is ground truth for the flaw and its fix.
|
|
| 82 |
so coverage skews toward recent CVEs
|
| 83 |
- Top components: Linux kernel (~4,200), OpenSSL, PHP, tcpdump, ghostscript,
|
| 84 |
FreeRDP
|
|
|
|
|
|
|
|
|
|
| 85 |
|
| 86 |
## Caveats
|
| 87 |
|
| 88 |
-
-
|
| 89 |
-
|
| 90 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
- `upstream_repo_url` is derived from the commit URL and may point at a web
|
| 92 |
UI path (cgit/gitweb) rather than a clean clone URL.
|
| 93 |
- Affected/fixed version data comes from CVE.org CNA containers and varies in
|
|
|
|
| 54 |
| `upstream_fix_commit` | Primary upstream fix commit SHA (first resolved) |
|
| 55 |
| `upstream_repo_url` | Upstream repository URL for that commit |
|
| 56 |
| `upstream_fix_commits` | All resolved commits: `{repo_url, commit, ref_url, source}` |
|
| 57 |
+
| `upstream_affected_versions` | Affected upstream version ranges (cvelistV5 CNA data, or `<= <tag>` derived from git when the CNA had none) |
|
| 58 |
+
| `upstream_fixed_versions` | Fixed upstream versions (cvelistV5 CNA data, or the git-derived tag when the CNA had none) |
|
| 59 |
+
| `upstream_fixed_version_git` | First upstream release tag whose history contains the fix commit (derived by cloning the repo and running `git tag --contains`) |
|
| 60 |
+
| `upstream_last_affected_version_git` | Newest release tag in the fix commit's ancestry — the latest release that definitely does **not** contain the fix |
|
| 61 |
+
| `version_derivation_status` | `ok`, `fix_unreleased` (no tag contains the commit yet), `commit_not_found`, `clone_failed`, `no_clone_url` (non-git upstream, e.g. Mercurial) |
|
| 62 |
| `resolution_source` | How the commit was resolved: `redhat_vex` (commit URL present in Red Hat's own references) or `cvelist` (CVE.org record) |
|
| 63 |
|
| 64 |
## Construction
|
|
|
|
| 73 |
upstream affected/fixed versions.
|
| 74 |
|
| 75 |
4. Dropped rows without a resolvable upstream commit.
|
| 76 |
+
5. Cloned each upstream repository (972 unique repos, treeless bare clones)
|
| 77 |
+
and derived release-tag boundaries for every fix commit:
|
| 78 |
+
`upstream_fixed_version_git` = version-lowest stable tag containing the
|
| 79 |
+
commit; `upstream_last_affected_version_git` = version-highest stable tag
|
| 80 |
+
in the commit's ancestry. Verified against known ground truths
|
| 81 |
+
(Heartbleed → `OpenSSL_1_0_1g`, SACK Panic → `v5.2`, etc.) and
|
| 82 |
+
cross-checked against CNA-declared fixed versions (96% numeric agreement
|
| 83 |
+
on the comparable subset).
|
| 84 |
|
| 85 |
## Statistics
|
| 86 |
|
|
|
|
| 93 |
so coverage skews toward recent CVEs
|
| 94 |
- Top components: Linux kernel (~4,200), OpenSSL, PHP, tcpdump, ghostscript,
|
| 95 |
FreeRDP
|
| 96 |
+
- Version coverage: 7,011 rows (91.5%) with git-derived fixed version, 7,076
|
| 97 |
+
with git-derived last-affected version; `upstream_fixed_versions` populated
|
| 98 |
+
for 7,057 rows after combining CNA and git sources
|
| 99 |
|
| 100 |
## Caveats
|
| 101 |
|
| 102 |
+
- The git-derived version fields describe the **exact fix commit's** history:
|
| 103 |
+
for projects that cherry-pick fixes onto release branches (new SHA), the
|
| 104 |
+
first tag containing the mainline commit can be later than the first
|
| 105 |
+
*release* that shipped a backported fix. E.g. a tcpdump fix cherry-picked
|
| 106 |
+
into 4.9.2 but committed on master shows `upstream_fixed_version_git:
|
| 107 |
+
tcpdump-4.99.0`. The CNA-provided `upstream_fixed_versions` field retains
|
| 108 |
+
the release-branch view where available.
|
| 109 |
+
- Tag names are reported verbatim (`v6.8`, `OpenSSL_1_0_1g`,
|
| 110 |
+
`curl-7_88_1`, ...) — normalize per-project if you need semver.
|
| 111 |
+
- Commit SHAs are taken from published references; a sampled subset was
|
| 112 |
+
verified to exist in the claimed repositories, and every row with
|
| 113 |
+
`version_derivation_status: ok` had its commit positively resolved in a
|
| 114 |
+
clone of the upstream repo. Multi-commit fixes may still be incomplete.
|
| 115 |
- `upstream_repo_url` is derived from the commit URL and may point at a web
|
| 116 |
UI path (cgit/gitweb) rather than a clean clone URL.
|
| 117 |
- Affected/fixed version data comes from CVE.org CNA containers and varies in
|
data.jsonl
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f6d5a8d4d5bd440b7d08bb53154c322364d0122f7679f8af1208eccd70a49e50
|
| 3 |
+
size 36921652
|
data.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:975e9753ccb4e66b09fb847a6d9110ade208778390a1081b5996c46d79d16856
|
| 3 |
+
size 4972090
|