Difference between revisions of "Template:Infobox bug/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>BrandonXLF
(Adding CVSS)
imported>BrandonXLF
Line 10: Line 10:
 
| data1    = {{#if:{{{CVE|{{{cve|}}}}}}|{{Plainlist|{{#invoke:String|replace|source={{{CVE|{{{cve}}}}}}|pattern=%a+%-%d+%-%d+|replace=*[https://cve.mitre.org/cgi-bin/cvename.cgi?name=%1 %1]|plain=false}}}}}}
 
| data1    = {{#if:{{{CVE|{{{cve|}}}}}}|{{Plainlist|{{#invoke:String|replace|source={{{CVE|{{{cve}}}}}}|pattern=%a+%-%d+%-%d+|replace=*[https://cve.mitre.org/cgi-bin/cvename.cgi?name=%1 %1]|plain=false}}}}}}
 
| label2  = [[Common Vulnerability Scoring System#Version 2|CVSS v2]]
 
| label2  = [[Common Vulnerability Scoring System#Version 2|CVSS v2]]
| data2    = {{#if:{{{CCVS2|{{{ccvs2|}}}}}}|{{ubl|
+
| data2    = {{ubl|
{{{CCVS2|{{{ccvs2}}}}}}
+
|{{#if:{{{v2_base|}}}|Base score: {{{v2_base}}}}}
 
  |{{#if:{{{v2_impact|}}}|Impact score: {{{v2_impact}}}}}
 
  |{{#if:{{{v2_impact|}}}|Impact score: {{{v2_impact}}}}}
 
  |{{#if:{{{v2_exploitability|}}}|Exploitability score: {{{v2_exploitability}}}}}
 
  |{{#if:{{{v2_exploitability|}}}|Exploitability score: {{{v2_exploitability}}}}}
Line 20: Line 20:
 
  |{{#if:{{{v2_I|}}}|Integrity: {{{v2_I}}}}}
 
  |{{#if:{{{v2_I|}}}|Integrity: {{{v2_I}}}}}
 
  |{{#if:{{{v2_A|}}}|Availability: {{{v2_A}}}}}
 
  |{{#if:{{{v2_A|}}}|Availability: {{{v2_A}}}}}
}}}}
+
}}
 
| label3  = [[Common Vulnerability Scoring System#Version 2|CVSS v3]]
 
| label3  = [[Common Vulnerability Scoring System#Version 2|CVSS v3]]
| data3    = {{#if:{{{CCVS3|{{{ccvs3|}}}}}}|{{ubl|
+
| data3    = {{ubl|
|{{{CCVS3|{{{ccvs3}}}}}}
+
|{{#if:{{{v3_base|}}}|Base score: {{{v3_base}}}}}
 
  |{{#if:{{{v3_impact|}}}|Impact score: {{{v3_impact}}}}}
 
  |{{#if:{{{v3_impact|}}}|Impact score: {{{v3_impact}}}}}
 
  |{{#if:{{{v3_exploitability|}}}|Exploitability score: {{{v3_exploitability}}}}}
 
  |{{#if:{{{v3_exploitability|}}}|Exploitability score: {{{v3_exploitability}}}}}
Line 34: Line 34:
 
  |{{#if:{{{v3_I|}}}|Integrity: {{{v3_I}}}}}
 
  |{{#if:{{{v3_I|}}}|Integrity: {{{v3_I}}}}}
 
  |{{#if:{{{v3_A|}}}|Availability: {{{v3_A}}}}}
 
  |{{#if:{{{v3_A|}}}|Availability: {{{v3_A}}}}}
}}}}
+
}}
 
| label4  = Date discovered
 
| label4  = Date discovered
 
| data4    = {{{discovered|}}}
 
| data4    = {{{discovered|}}}

Revision as of 02:08, 22 February 2019

Infobox bug
CVSS v2Template:Ubl
CVSS v3Template:Ubl
Template documentation[view] [edit] [history] [purge]

This infobox is used to add an infobox to article about software bugs, vulnerabilities and security bugs.

Parameters

Template:Parameter names example

Template:Pre2 Template:Pre2

Example

Heartbleed
Heartbleed.svg
Logo representing Heartbleed. Security company Codenomicon gave Heartbleed both a name and a logo, contrbuting to public awareness of the issue.
CVE identifier(s)CVE-2014-0160
Date discoveredTemplate:Start date and age
Date patchedTemplate:Start date and age
DiscovererNeel Mehta
Affected softwareOpenSSL (1.0.1)
WebsiteTemplate:URL
Template:Pre2

Tracking category

See also