-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[meta] PKG_CPE_ID and security issue tracking #8534
Comments
beats me. I just copy CPE entries from nist.gov. |
This is probably obvious to other contributors, but I thought I'd add what I've gathered:
Pretty sure uscan (https://sdwalker.github.io/uscan/) uses these IDs to scan for new vulnerability reports. Package maintainers get an email when uscan finds CVEs that apply to their package. (uscan also sends emails when upstream has updated, prompting maintainers to update their packages. No idea what software uscan uses or how it works behind-the-scenes, other than it shares a name with a Debian devscript.) |
uscan can sometimes figure out the CPE_ID but not always. Having it explicit helps ensure that it gets it right. |
So anyone cares to write a example with comments and explaining the mechanism? I still don't know what exactly i'm supposed to-do. |
Let me a little re-use this issue, but would it be possible if there is fixed CVE in new version to include it in commit message? |
PKG_CPE_ID was added by @lynxis maybe he can tell us something more about it? It was acked by @jow- . https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=c61a2395140d92cdd37d3d6ee43a765427e8e318 Mailing list: |
The idea behind the PKG_CPE_ID is to have a simple way to find the related CVE. @sdwalker created uscan before PKG_CPE_ID. Somehow uscan figured out (or was the mapping created by hand?) which package relates to which CPE_ID / CVE. We asked ourself how can we help such CVE scanners. PKG_CPE_ID was the answer. |
PKG_CPE_ID gets piped into cvechecker with the package version appended. cvechecker doesn't support 2.3 IDs so PKG_CPE_ID is mostly 2.2. mailman requires a 2.3->2.2 sed replacement. The initial mappings were created by hand. https://gist.github.com/sdwalker/c4c674f2bd4f8321d8b427c7b50d24b0 is the remaining mappings. PKG_CPE_ID takes preference if it's added. |
Is this issue still relevant? PKG_CPE_ID was added en masse with #10062 |
I think this issue is about documentation? Perhaps someone would be kind enough to add a description of |
The PKG_CPE_ID links to NIST CPE version 2.2. Assign PKG_CPE_ID to all remaining package which have a CPE ID. Not every package has CPE id. Related: openwrt/packages#8534 Signed-off-by: Alexander Couzens <[email protected]>
The PKG_CPE_ID links to NIST CPE version 2.2. Assign PKG_CPE_ID to all remaining tools which have a CPE ID. Not every tool has CPE id. Related: openwrt/packages#8534 Signed-off-by: Alexander Couzens <[email protected]>
The PKG_CPE_ID links to NIST CPE version 2.2. Assign PKG_CPE_ID to all remaining package which have a CPE ID. Not every package has a CPE id. Related: openwrt/packages#8534 Signed-off-by: Alexander Couzens <[email protected]>
The PKG_CPE_ID links to NIST CPE version 2.2. Assign PKG_CPE_ID to all remaining package which have a CPE ID. Not every package has a CPE id. Related: openwrt/packages#8534 Signed-off-by: Alexander Couzens <[email protected]>
The PKG_CPE_ID links to NIST CPE version 2.2. Assign PKG_CPE_ID to all remaining package which have a CPE ID. Not every package has CPE id. Related: openwrt/packages#8534 Signed-off-by: Alexander Couzens <[email protected]>
The PKG_CPE_ID links to NIST CPE version 2.2. Assign PKG_CPE_ID to all remaining tools which have a CPE ID. Not every tool has CPE id. Related: openwrt/packages#8534 Signed-off-by: Alexander Couzens <[email protected]>
The PKG_CPE_ID links to NIST CPE version 2.2. Assign PKG_CPE_ID to all remaining package which have a CPE ID. Not every package has a CPE id. Related: openwrt/packages#8534 Signed-off-by: Alexander Couzens <[email protected]>
The PKG_CPE_ID links to NIST CPE version 2.2. Assign PKG_CPE_ID to all remaining package which have a CPE ID. Not every package has CPE id. Related: openwrt/packages#8534 Signed-off-by: Alexander Couzens <[email protected]> Signed-off-by: Arne Zachlod <[email protected]>
The PKG_CPE_ID links to NIST CPE version 2.2. Assign PKG_CPE_ID to all remaining tools which have a CPE ID. Not every tool has CPE id. Related: openwrt/packages#8534 Signed-off-by: Alexander Couzens <[email protected]>
The PKG_CPE_ID links to NIST CPE version 2.2. Assign PKG_CPE_ID to all remaining package which have a CPE ID. Not every package has a CPE id. Related: openwrt/packages#8534 Signed-off-by: Alexander Couzens <[email protected]>
The PKG_CPE_ID links to NIST CPE version 2.2. Assign PKG_CPE_ID to all remaining package which have a CPE ID. Not every package has CPE id. Related: openwrt/packages#8534 Signed-off-by: Alexander Couzens <[email protected]>
The PKG_CPE_ID links to NIST CPE version 2.2. Assign PKG_CPE_ID to all remaining tools which have a CPE ID. Not every tool has CPE id. Related: openwrt/packages#8534 Signed-off-by: Alexander Couzens <[email protected]>
The PKG_CPE_ID links to NIST CPE version 2.2. Assign PKG_CPE_ID to all remaining package which have a CPE ID. Not every package has a CPE id. Related: openwrt/packages#8534 Signed-off-by: Alexander Couzens <[email protected]>
The PKG_CPE_ID links to NIST CPE version 2.2. Assign PKG_CPE_ID to all remaining package which have a CPE ID. Not every package has CPE id. Related: openwrt/packages#8534 Signed-off-by: Alexander Couzens <[email protected]>
The PKG_CPE_ID links to NIST CPE version 2.2. Assign PKG_CPE_ID to all remaining tools which have a CPE ID. Not every tool has CPE id. Related: openwrt/packages#8534 Signed-off-by: Alexander Couzens <[email protected]>
The PKG_CPE_ID links to NIST CPE version 2.2. Assign PKG_CPE_ID to all remaining package which have a CPE ID. Not every package has a CPE id. Related: openwrt/packages#8534 Signed-off-by: Alexander Couzens <[email protected]>
The PKG_CPE_ID links to NIST CPE version 2.2. Assign PKG_CPE_ID to all remaining package which have a CPE ID. Not every package has CPE id. Related: openwrt/packages#8534 Signed-off-by: Alexander Couzens <[email protected]>
The PKG_CPE_ID links to NIST CPE version 2.2. Assign PKG_CPE_ID to all remaining tools which have a CPE ID. Not every tool has CPE id. Related: openwrt/packages#8534 Signed-off-by: Alexander Couzens <[email protected]>
The PKG_CPE_ID links to NIST CPE version 2.2. Assign PKG_CPE_ID to all remaining package which have a CPE ID. Not every package has a CPE id. Related: openwrt/packages#8534 Signed-off-by: Alexander Couzens <[email protected]>
The PKG_CPE_ID links to NIST CPE version 2.2. Assign PKG_CPE_ID to all remaining package which have a CPE ID. Not every package has CPE id. Related: openwrt/packages#8534 Signed-off-by: Alexander Couzens <[email protected]>
The PKG_CPE_ID links to NIST CPE version 2.2. Assign PKG_CPE_ID to all remaining tools which have a CPE ID. Not every tool has CPE id. Related: openwrt/packages#8534 Signed-off-by: Alexander Couzens <[email protected]>
The PKG_CPE_ID links to NIST CPE version 2.2. Assign PKG_CPE_ID to all remaining package which have a CPE ID. Not every package has a CPE id. Related: openwrt/packages#8534 Signed-off-by: Alexander Couzens <[email protected]>
Hi,
is there any documentation for maintainers how to handle PKG_CPE_ID ? Or some idea?
@Andy2244 Pointed out in this PR #8525 (comment) that it would be a useful thing to have some sort of documentation with examples (and I agree with him).
Right now there are project already using this variable see https://github.com/kkreitmair/cve-indicator
The text was updated successfully, but these errors were encountered: