sonic-buildimage/platform/broadcom/sonic-platform-modules-dell
Mai Bui 06e1a0bc14
[device/dell] Mitigation for security vulnerability (#11875)
Dependency: [PR (#12065)](https://github.com/sonic-net/sonic-buildimage/pull/12065) needs to merge first.

#### Why I did it
`commands` module is not protected against malicious input
`getstatusoutput` is detected without a static string, uses `shell=True`
#### How I did it
Eliminate the use of `commands`
Use `subprocess.run()`, commands in `subprorcess.run()` are totally static
Fix indentation
#### How to verify it
Tested on DUT
[dell_log.txt](https://github.com/sonic-net/sonic-buildimage/files/9561332/dell_log.txt)
2023-01-05 16:22:09 -08:00
..
common DellEMC: S6100, Z9332f - Include ONIE version in 'show platform firmware status' (#10493) 2022-05-12 09:24:06 -07:00
debian Update Linux kernel from 5.10.103 to 5.10.140 (#12660) 2022-11-14 16:33:34 -08:00
n3248pxe [device/dell] Mitigation for security vulnerability (#11875) 2023-01-05 16:22:09 -08:00
n3248te [device/dell] Mitigation for security vulnerability (#11875) 2023-01-05 16:22:09 -08:00
s5212f [device/dell] Mitigation for security vulnerability (#11875) 2023-01-05 16:22:09 -08:00
s5224f [device/dell] Mitigation for security vulnerability (#11875) 2023-01-05 16:22:09 -08:00
s5232f [device/dell] Mitigation for security vulnerability (#11875) 2023-01-05 16:22:09 -08:00
s5248f [device/dell] Mitigation for security vulnerability (#11875) 2023-01-05 16:22:09 -08:00
s5296f [device/dell] Mitigation for security vulnerability (#11875) 2023-01-05 16:22:09 -08:00
s6000 [DellEMC] Fixing 'show interface status' break in DellEMC platforms (#13021) 2022-12-20 12:38:09 -08:00
s6100 [DellEMC] Fixing 'show interface status' break in DellEMC platforms (#13021) 2022-12-20 12:38:09 -08:00
z9100 DellEMC SFP Refactor (#9142) 2021-11-17 21:40:46 +05:30
z9264f [device/dell] Mitigation for security vulnerability (#11875) 2023-01-05 16:22:09 -08:00
z9332f [device/dell] Mitigation for security vulnerability (#11875) 2023-01-05 16:22:09 -08:00
z9432f [device/dell] Mitigation for security vulnerability (#11875) 2023-01-05 16:22:09 -08:00
.gitignore Reorganize .gitignore files (#4707) 2020-06-09 21:04:55 -07:00
LICENSE [platform]: move dell platform modules into buildimage repo 2018-08-13 10:39:07 +00:00
README.md [platform]: move dell platform modules into buildimage repo 2018-08-13 10:39:07 +00:00

platform drivers for Dell Z9100 for the SONiC project