Skip to content
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

Open
ja-pa opened this issue Mar 29, 2019 · 10 comments
Open

[meta] PKG_CPE_ID and security issue tracking #8534

ja-pa opened this issue Mar 29, 2019 · 10 comments

Comments

@ja-pa
Copy link
Contributor

ja-pa commented Mar 29, 2019

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

@neheb
Copy link
Contributor

neheb commented Mar 29, 2019

beats me. I just copy CPE entries from nist.gov.

@jefferyto
Copy link
Member

This is probably obvious to other contributors, but I thought I'd add what I've gathered:

PKG_CPE_ID is the CPE ID (version 2.2) of the upstream project. No idea if version 2.3 IDs are accepted. Like @neheb, I usually search nvd.nist.gov or just Google to get the ID.

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.)

@neheb
Copy link
Contributor

neheb commented Mar 31, 2019

uscan can sometimes figure out the CPE_ID but not always. Having it explicit helps ensure that it gets it right.

@Andy2244
Copy link
Contributor

Andy2244 commented Apr 1, 2019

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.

@BKPepe
Copy link
Member

BKPepe commented May 17, 2019

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?

@BKPepe
Copy link
Member

BKPepe commented Aug 9, 2019

@lynxis
Copy link
Member

lynxis commented Aug 9, 2019

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.

@sdwalker
Copy link
Contributor

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.

@neheb
Copy link
Contributor

neheb commented Jan 17, 2020

Is this issue still relevant?

PKG_CPE_ID was added en masse with #10062

@jefferyto
Copy link
Member

I think this issue is about documentation? Perhaps someone would be kind enough to add a description of PKG_CPE_ID to the wiki? (https://openwrt.org/docs/guide-developer/packages and/or https://openwrt.org/docs/guide-developer/package-policies look like appropriate places)

lynxis added a commit to lynxis/openwrt that referenced this issue Sep 19, 2023
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 <lynxis@fe80.eu>
lynxis added a commit to lynxis/openwrt that referenced this issue Sep 19, 2023
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 <lynxis@fe80.eu>
lynxis added a commit to lynxis/openwrt that referenced this issue Sep 19, 2023
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 <lynxis@fe80.eu>
lynxis added a commit to lynxis/openwrt that referenced this issue Sep 19, 2023
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 <lynxis@fe80.eu>
Vladdrako pushed a commit to Vladdrako/openwrt that referenced this issue Sep 20, 2023
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 <lynxis@fe80.eu>
Vladdrako pushed a commit to Vladdrako/openwrt that referenced this issue Sep 20, 2023
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 <lynxis@fe80.eu>
Vladdrako pushed a commit to Vladdrako/openwrt that referenced this issue Sep 20, 2023
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 <lynxis@fe80.eu>
db4rne pushed a commit to db4rne/openwrt that referenced this issue Sep 27, 2023
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 <lynxis@fe80.eu>
Signed-off-by: Arne Zachlod <arne@nerdkeller.org>
db4rne pushed a commit to db4rne/openwrt that referenced this issue Sep 27, 2023
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 <lynxis@fe80.eu>
db4rne pushed a commit to db4rne/openwrt that referenced this issue Sep 27, 2023
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 <lynxis@fe80.eu>
db4rne pushed a commit to db4rne/openwrt that referenced this issue Sep 27, 2023
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 <lynxis@fe80.eu>
db4rne pushed a commit to db4rne/openwrt that referenced this issue Sep 27, 2023
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 <lynxis@fe80.eu>
db4rne pushed a commit to db4rne/openwrt that referenced this issue Sep 27, 2023
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 <lynxis@fe80.eu>
db4rne pushed a commit to db4rne/openwrt that referenced this issue Sep 27, 2023
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 <lynxis@fe80.eu>
db4rne pushed a commit to db4rne/openwrt that referenced this issue Sep 27, 2023
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 <lynxis@fe80.eu>
db4rne pushed a commit to db4rne/openwrt that referenced this issue Sep 27, 2023
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 <lynxis@fe80.eu>
db4rne pushed a commit to db4rne/openwrt that referenced this issue Sep 27, 2023
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 <lynxis@fe80.eu>
db4rne pushed a commit to db4rne/openwrt that referenced this issue Sep 27, 2023
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 <lynxis@fe80.eu>
db4rne pushed a commit to db4rne/openwrt that referenced this issue Sep 27, 2023
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 <lynxis@fe80.eu>
openwrt-bot pushed a commit to openwrt/openwrt that referenced this issue Sep 27, 2023
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 <lynxis@fe80.eu>
openwrt-bot pushed a commit to openwrt/openwrt that referenced this issue Sep 27, 2023
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 <lynxis@fe80.eu>
openwrt-bot pushed a commit to openwrt/openwrt that referenced this issue Sep 27, 2023
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 <lynxis@fe80.eu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants