Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/cloudflare/cfrpki/cmd/octorpki
  4. ›
  5. GMS-2021-87

GMS-2021-87: Improper Preservation of Permissions in github.com/cloudflare/cfrpki/cmd/octorpki

November 19, 2021

Impact

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.

For more information

If you have any questions or comments about this advisory email us at security@cloudflare.com

References

  • github.com/advisories/GHSA-3pqh-p72c-fj85
  • github.com/cloudflare/cfrpki/security/advisories/GHSA-3pqh-p72c-fj85

Code Behaviors & Features

Detect and mitigate GMS-2021-87 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.4.2

Fixed versions

  • 1.4.2

Solution

Upgrade to version 1.4.2 or above.

Source file

go/github.com/cloudflare/cfrpki/cmd/octorpki/GMS-2021-87.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:10 +0000.