Fix vulnerabilities

Related: Security advisories