Entreprise d'experts en Sécurité Informatique : Audits et conseils en cybersécurité
Entreprise française de cybersécurité depuis 2004
☎ 03 60 47 09 81 - info@securiteinfo.com


CVE-2021-29923

Description

Go before 1.17 does not properly consider extraneous zero characters at the beginning of an IP address octet, which (in some situations) allows attackers to bypass access control that is based on IP addresses, because of unexpected octal interpretation. This affects net.ParseIP and net.ParseCIDR.

POC

Reference

- https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-016.md

- https://www.oracle.com/security-alerts/cpujan2022.html

Github

- https://github.com/0x0806/JWT-Security-Assessment

- https://github.com/ARPSyndicate/cve-scores

- https://github.com/ARPSyndicate/cvemon

- https://github.com/JakubWierzchowski/manier

- https://github.com/agadecki/malware-cryptominer-container

- https://github.com/aojea/funny-ip-etcd-detector

- https://github.com/cmd-tools/ipv4mix

- https://github.com/henriquebesing/container-security

- https://github.com/kb5fls/container-security

- https://github.com/ruzickap/malware-cryptominer-container