I think this is a great example to work through as a community as this
should help answer many questions about future packages we try to name.
Note the 2.1 name format is:
cpe:/ {part} :
{vendor} :
{product} :
{version} :
{update} :
{edition} :
{language}
In the example you bring up below, you are correct that the part would
be 'application'. I'd say the vendor is 'Ubuntu' as this is who built
the package. I'd say the product = 'libuuid1' as this is the name of
the specific package in question. My first guess would be to use
'1.39+1.40-WIP-2006.11.14+dfsg-2ubuntu1.1' as the version component.
So I'd quickly say that the CPE Name would be:
cpe:/a:ubuntu:libuuid1:1.39+1.40-WIP-2006.11.14+dfsg-2ubuntu1.1
Lt Col Wolfkiel is correct that the "+" character is a URI reserved
char not allowed in a CPE Name. How should we handle this?
* just remove the character, so the version would become
1.391.40-WIP-2006.11.14dfsg-2ubuntu1.1
* create a special char code for it. Maybe 'p' or '-p-' or '-pl-' or
'--p--' or ...? The version would become
1.39--p--1.40-WIP-2006.11.14--p--dfsg-2ubuntu1.1 We could make similar
char codes for things like greater than '-gt-' so we could name
platform types with a version greater than something. thoughts?
It seems that 'Feisty' and 'e2fsprogs' are names given to different
package bundle (that includes libuuid1). I don't think that 'Feisty'
or 'e2fsprogs' would be in the CPE Name. It would be possible though
that we could have a different CPE Name for Feisty
(cpe:/a:ubuntu:feisty) or e2fsprogs (cpe:/a:ubuntu:e2fsprogs) if we
wanted to name a platform type that includes these packages. Make
sense?
I'd be very interested in how others think about this example.
Thanks
Drew
>-----Original Message-----
>From: Whyman, Paul Arthur [mailto:
[hidden email]]
>Sent: Thursday, January 24, 2008 6:10 PM
>To: cpe-discussion-list CPE Community Forum
>Subject: [CPE-DISCUSSION-LIST] Ambiguity assigning CPE name to
>product - help please
>
>Hello all,
>
>I have been trying to assign a CPE name to a particularly
>troublesome application, I wonder if someone can provide assistance.
>
>The culprit is a package called libuuid1
>1.39+1.40-WIP-2006.11.14+dfsg-2ubuntu1.1 from Ubuntu Feisty
>
>More information can be found here:
>
http://packages.ubuntu.com/feisty/libs/libuuid1>
>Here are the ambiguous parts of the metadata:
>
>Part: application
>Vendor: e2fsprogs -or- Debian -or- Ubuntu -and- what to do
>with feisty ?
>Product: libuuid1
>Version -?- Update -?- Edition:
>1.39+1.40-WIP-2006.11.14+dfsg-2ubuntu1.1
>Language: English
>
>
>The goal is to be able to map this file back to the entry in
>the NVD which indicates e2fsprogs has a vulnerability and
>determine if this version is vulnerable. See
>
http://nvd.nist.gov/nvd.cfm?cvename=CVE-2007-5497>
>Suggestions?
>
>--
>Paul Whyman
>Open Source & Linux Organization R&D (OSLO)
>Hewlett Packard Company
>