Skip to content

Latest commit

 

History

History
128 lines (73 loc) · 2.63 KB

appendix-VI-external-repository-identifiers.md

File metadata and controls

128 lines (73 loc) · 2.63 KB

Appendix VI: External Repository Identifiers


When <category> = “SECURITY”:


<type> cpe22Type

<locator> Information

Locator Format:

"[c][pP][eE]:/[AHOaho]?(:[A-Za-z0-9\._\-~%]*){0,6}"

Contextual Example:

cpe:/o:canonical:ubuntu_linux:10.04:-:lts

External Reference Site: https://nvd.nist.gov/cpe

Documentation: https://cpe.mitre.org/files/cpe-specification_2.2.pdf

<type> cpe23Type

<locator> Information

Locator Format:

"cpe:2\.3:[aho\*\­]
(:(((\?*|\*?)([a­zA­Z0­9\­\._]|(\\[\\\*\?!
"#$$%&'\(\)\+,/:;<=>@\[\]\^`\{\|}~])
)+(\?*|\*?))|[\*\­])){5}
(:(([a­zA­Z]{2,3}(­([a­zA­Z]{2}|[0­9]{3
}))?)|[\*\­]))
(:(((\?*|\*?)([a­zA­Z0­9\­\._]|(\\[\\\*\?!
"#$$%&'\(\)\+,/:;<=>@\[\]\^`\{\|}~])
)+(\?*|\*?))|[\*\­])){4}"

Contextual Example:

cpe:2.3:o:canonical:ubuntu_linux:10.04:­:lts:*:*:*:*:*

External Reference Site: https://nvd.nist.gov/cpe

Documentation: http://csrc.nist.gov/publications/nistir/ir7695/NISTIR-7695-CPE-Naming.pdf


When = “PACKAGE_MANAGER”:


<type> maven-central

<locator> Information

Locator Format:

group:artifact[:version]
^[^:]+:[^:]+(:[^:]+)?$

Contextual Example:

org.apache.tomcat:tomcat:9.0.0.M4

External Reference Site: http://repo1.maven.org/maven2/

Documentation: https://maven.apache.org

<type> npm

<locator> Information

Locator Format:

package@version
^[^@]+@[^@]+$

Contextual Example:

http-server@0.3.0

External Reference Site: https://www.npmjs.com/

Documentation: https://docs.npmjs.com/files/package.json

<type> nuget

<locator> Information

Locator Format:

package/version
^[^\/]+\/[^\/]+$

Contextual Example:

Microsoft.AspNet.MVC/5.0.0

External Reference Site: https://www.nuget.org/

Documentation: https://docs.nuget.org/

<type> bower

<locator> Information

Locator Format:

    package#version
    ^[^#]+#[^#]+$

Contextual Example:

    modernizr#2.6.2

External Reference Site: http://bower.io/

Documentation: http://bower.io/docs/api/#install


When = “OTHER”:


<type> [idstring]

<locator> Information

no spaces, but anything else goes