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

From blackwiki
Jump to navigation Jump to search
imported>BrandonXLF
imported>BrandonXLF
Line 8: Line 8:
 
| caption3 = {{{screenshot caption|}}}
 
| caption3 = {{{screenshot caption|}}}
 
| label1  = [[Common Vulnerabilities and Exposures|CVE identifier{{#ifeq:{{#invoke:String|find|source={{{CVE|{{{cve|}}}}}}|target=%a+%-%d+%-%d+.-%a+%-%d+%-%d+|plain=false}}|0||s}}]]
 
| label1  = [[Common Vulnerabilities and Exposures|CVE identifier{{#ifeq:{{#invoke:String|find|source={{{CVE|{{{cve|}}}}}}|target=%a+%-%d+%-%d+.-%a+%-%d+%-%d+|plain=false}}|0||s}}]]
| 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] ([https://nvd.nist.gov/vuln/detail/%1 {{abbr|NVD|National Vulnerability Database}}]|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] [https://nvd.nist.gov/vuln/detail/%1 (NVD)]|plain=false}}}}}}
 
| label3  = [[Common Vulnerability Scoring System#Version 2|CVSS v3]]
 
| label3  = [[Common Vulnerability Scoring System#Version 2|CVSS v3]]
 
| label4  = Date discovered
 
| label4  = Date discovered
Line 24: Line 24:
 
| label10  = Website  
 
| label10  = Website  
 
| data10  = {{{website|}}}
 
| data10  = {{{website|}}}
| header11 = {{#if:{{{v2_base|}}}|[[Common Vulnerability Scoring System#Version 2|CVSS v2]]}} {{{v2_ref|}}}
+
| header11 = {{#if:{{{v2_base|}}}|[[Common Vulnerability Scoring System#Version 2|CVSS v2]]}}{{{v2_ref|}}}
 
| label12  = Base score
 
| label12  = Base score
 
| data12  = {{{v2_base|}}}
 
| data12  = {{{v2_base|}}}
Line 33: Line 33:
 
| label15  = Attack vector
 
| label15  = Attack vector
 
| data15  = {{{v2_AV|}}}
 
| data15  = {{{v2_AV|}}}
| label16  = Attack complexity:
+
| label16  = Attack complexity
 
| data16  = {{{v2_AC|}}}
 
| data16  = {{{v2_AC|}}}
 
| label17  = Authentication
 
| label17  = Authentication
Line 43: Line 43:
 
| label20  = Availability
 
| label20  = Availability
 
| data20  = {{{v2_A|}}}
 
| data20  = {{{v2_A|}}}
| header21 = {{#if:{{{v3_base|}}}|[[Common Vulnerability Scoring System#Version 3|CVSS v3]]}} {{{v3_ref|}}}
+
| header21 = {{#if:{{{v3_base|}}}|[[Common Vulnerability Scoring System#Version 3|CVSS v3]]}}{{{v3_ref|}}}
 
| label22  = Base score
 
| label22  = Base score
 
| data22  = {{{v3_base|}}}
 
| data22  = {{{v3_base|}}}

Revision as of 04:21, 22 February 2019

Infobox bug
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