File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,11 @@ class GitHubSecurityAdvisoriesSource implements SecurityAdvisorySourceInterface
28
28
{
29
29
public const SOURCE_NAME = 'GitHub ' ;
30
30
31
+ private const IGNORE_CVES = [
32
+ 'CVE-2024-36611 ' , // @see https://phpc.social/@wouterj/113588554019692959
33
+ 'CVE-2024-36610 ' , // @see https://phpc.social/@wouterj/113588554019692959
34
+ ];
35
+
31
36
/**
32
37
* @param list<string> $fallbackGhTokens
33
38
*/
@@ -95,6 +100,10 @@ public function getAdvisories(ConsoleIO $io): ?RemoteSecurityAdvisoryCollection
95
100
continue ;
96
101
}
97
102
103
+ if (in_array ($ cve , self ::IGNORE_CVES , true )) {
104
+ continue ;
105
+ }
106
+
98
107
$ packageName = strtolower ($ node ['package ' ]['name ' ]);
99
108
100
109
// GitHub adds spaces everywhere e.g. > 1.0, adjust to be able to match other advisories
You can’t perform that action at this time.
0 commit comments