11/**
22 * Provides a list of NuGet packages with known vulnerabilities.
3- *
3+ *
44 * To add a new vulnerability follow the existing pattern.
55 * Create a new class that extends the abstract class `Vulnerability`,
66 * supplying the name and the URL, and override one (or both) of
@@ -73,9 +73,9 @@ class MicrosoftAdvisory4021279 extends Vulnerability {
7373
7474class CVE_2017_8700 extends Vulnerability {
7575 CVE_2017_8700 ( ) { this = "CVE-2017-8700" }
76-
76+
7777 override string getUrl ( ) { result = "https://github.com/aspnet/Announcements/issues/279" }
78-
78+
7979 override predicate matchesRange ( string name , Version affected , Version fixed ) {
8080 (
8181 name = "Microsoft.AspNetCore.Mvc.Core"
@@ -91,9 +91,9 @@ class CVE_2017_8700 extends Vulnerability {
9191
9292class CVE_2018_0765 extends Vulnerability {
9393 CVE_2018_0765 ( ) { this = "CVE-2018-0765" }
94-
94+
9595 override string getUrl ( ) { result = "https://github.com/dotnet/announcements/issues/67" }
96-
96+
9797 override predicate matchesRange ( string name , Version affected , Version fixed ) {
9898 name = "System.Security.Cryptography.Xml" and
9999 affected = "0.0.0" and
@@ -103,7 +103,7 @@ class CVE_2018_0765 extends Vulnerability {
103103
104104class AspNetCore_Mar18 extends Vulnerability {
105105 AspNetCore_Mar18 ( ) { this = "ASPNETCore-Mar18" }
106-
106+
107107 override string getUrl ( ) { result = "https://github.com/aspnet/Announcements/issues/300" }
108108
109109 override predicate matchesRange ( string name , Version affected , Version fixed ) {
@@ -125,9 +125,9 @@ class AspNetCore_Mar18 extends Vulnerability {
125125
126126class CVE_2018_8409 extends Vulnerability {
127127 CVE_2018_8409 ( ) { this = "CVE-2018-8409" }
128-
128+
129129 override string getUrl ( ) { result = "https://github.com/aspnet/Announcements/issues/316" }
130-
130+
131131 override predicate matchesRange ( string name , Version affected , Version fixed ) {
132132 name = "System.IO.Pipelines" and affected = "4.5.0" and fixed = "4.5.1"
133133 or
@@ -138,9 +138,9 @@ class CVE_2018_8409 extends Vulnerability {
138138
139139class CVE_2018_8171 extends Vulnerability {
140140 CVE_2018_8171 ( ) { this = "CVE-2018-8171" }
141-
141+
142142 override string getUrl ( ) { result = "https://github.com/aspnet/Announcements/issues/310" }
143-
143+
144144 override predicate matchesRange ( string name , Version affected , Version fixed ) {
145145 name = "Microsoft.AspNetCore.Identity" and (
146146 affected = "1.0.0" and fixed = "1.0.6"
@@ -204,7 +204,7 @@ class CVE_2018_8356 extends Vulnerability {
204204
205205class ASPNETCore_Jul18 extends Vulnerability {
206206 ASPNETCore_Jul18 ( ) { this = "ASPNETCore-July18" }
207-
207+
208208 override string getUrl ( ) { result = "https://github.com/aspnet/Announcements/issues/311" }
209209
210210 override predicate matchesRange ( string name , Version affected , Version fixed ) {
0 commit comments