CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021 · Cloudflare

CVE-2021-3978
Cloudflare Octorpki vulnerability

When copying files with rsync, octorpki uses the "-a" flag 0, which forces rsync to copy binaries with the suid bit set as root. Since the provided service definition defaults to root ( https://github.com/cloudflare/cfrpki/blob/master/package/octorpki.service ) this could allow for a vector, when combined with another vulnerability that causes octorpki to process a malicious TAL file, for a local privilege escalation.

Affected products

Octorpki. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Cloudflare Octorpki runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Cloudflare products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.