CVE-2021-3907Cloudflare Octorpki
Critical 9.8 No auth needed
Follow: this CVE · Cloudflare · Cloudflare Octorpki We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 4.1% probability of exploitation in 30 days · percentile 92
- Auth required
- No
- Published
- Nov 11, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
OctoRPKI does not escape a URI with a filename containing "..", this allows a repository to create a file, (ex. rsync://example.org/repo/../../etc/cron.daily/evil.roa), which would then be written to disk outside the base cache folder. This could allow for remote code execution on the host machine OctoRPKI is running on.
What to do
- Apply the vendor's security update for Octorpki.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/cloudflare/cfrpki |
< 1.4.3 |
1.4.3 |
go get github.com/cloudflare/cfrpki@v1.4.3 |
| Go | github.com/cloudflare/cfrpki |
< 1.4.4 |
1.4.4 |
go get github.com/cloudflare/cfrpki@v1.4.4 |
| Go | github.com/cloudflare/cfrpki |
< 1.4.4 |
1.4.4 |
go get github.com/cloudflare/cfrpki@v1.4.4 |
Per OSV / GitHub Advisories (GHSA-8459-6rc9-8vf8, GHSA-cqh2-vc2f-q4fh, GO-2022-0248). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| cloudflare | octorpki | < 1.3.0 |
| debian | debian_linux | 10.0 |
| debian | debian_linux | 11.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- github.com Third Party Advisory
- www.debian.org Third Party Advisory
- www.debian.org Third Party Advisory