dev-sec / cis-dil-benchmark

CIS Distribution Independent Linux Benchmark - InSpec Profile
Apache License 2.0
146 stars 92 forks source link

3-5 Fix loopback address match #161

Closed IvDoorn closed 9 months ago

IvDoorn commented 9 months ago

Fix regression introduced since ad539693ae1d5c8c038c76c1accee5fbc22308fd, in this CIS checks 3.5.1.4 and 3.5.2.4 were updated to filter open ports with address 127.0.0.1 to 127. which never matches.

Update filtering to check for a full IPv4 address corresponding to CIDR 127.0.0.0/8