CVE fmt: uses YYYY-NNNN format which is wrong: should use CVE-YYYY-NNNN format

Bug #119361 reported by Kees Cook
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

When linking or displaying CVEs, Malone needs to make sure the name is correctly shown/parsed as CVE-YYYY-NNNN, so that search engines will be able to make sense of the links. The correct naming convention for CVEs is that they must start with "CVE". Currently, all the links show just YYYY-NNNN.

Other places that would be useful to use the convetion:
- "Link to CVE" page needs to take full CVE name, including "CVE-" prefix
- "CVE Reference" box for bugs that have linked CVEs
- CVE page needs missing dash between "CVE" and index number (e.g. lhttps://bugs.launchpad.net/bugs/cve/2007-2951)
- CVE url paths should be valid with cve prefix too (e.g. https://LP.../bugs/cve/cve-2007-2951

searches need to support CVE-YYYY-NNNN too.

Revision history for this message
Diogo Matsubara (matsubara) wrote :

Hi Kees,
I guess you mean the CVE reference box in a bug page, right? Is there any other place that needs updating?
Thanks for the report.

Changed in malone:
status: New → Incomplete
Revision history for this message
Kees Cook (kees) wrote :

Correct. As far as I know:

- "Link to CVE" page needs to take full CVE name, including "CVE-" prefix
- "CVE Reference" box for bugs that have linked CVEs
- CVE page needs missing dash between "CVE" and index number (e.g. lhttps://bugs.launchpad.net/bugs/cve/2007-2951)
- CVE url paths should be valid with cve prefix too (e.g. https://LP.../bugs/cve/cve-2007-2951

Really just making the index be "CVE-YYYY-NNNN" instead of "YYYY-NNNNN" should do the trick in most cases.

Revision history for this message
Diogo Matsubara (matsubara) wrote : Re: All places mentioning CVE indexes should use CVE-YYYY-NNNN format

Kees, thanks for the list. I've udpated the bug description.

description: updated
Changed in malone:
status: Incomplete → Confirmed
Curtis Hovey (sinzui)
tags: removed: fix-it-friday
Kees Cook (kees)
tags: added: platform-want
Curtis Hovey (sinzui)
Changed in launchpad:
status: Confirmed → Triaged
importance: Undecided → Low
tags: added: confusing-ui
summary: - All places mentioning CVE indexes should use CVE-YYYY-NNNN format
+ CVE fmt: uses YYYY-NNNN format which is wrong: should use CVE-YYYY-NNNN
+ format
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.