Skip to content

Commit 780d938

Browse files
committed
Fixed network.js vulnerability
1 parent b319280 commit 780d938

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/network.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,12 @@ function getWindowsIEEE8021x(connectionType, iface, ifaces) {
359359
state: 'Unknown',
360360
protocol: 'Unknown',
361361
};
362+
363+
// Temp fix for vulnerability https://github.com/advisories/GHSA-cvv5-9h9w-qp2m
364+
return {
365+
i8021x.state = 'Disabled';
366+
i8021x.protocol = 'Not defined';
367+
}
362368

363369
if (ifaces === 'Disabled') {
364370
i8021x.state = 'Disabled';

0 commit comments

Comments
 (0)