{"id":"GHSA-cqh2-vc2f-q4fh","summary":"Arbitrary filepath traversal via URI injection ","details":"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. \n\n## Patches\n\n## For more information\nIf you have any questions or comments about this advisory email us at security@cloudflare.com\n","aliases":["CVE-2021-3907","GHSA-8459-6rc9-8vf8","GO-2022-0248"],"modified":"2026-01-30T02:14:40.981582Z","published":"2021-11-10T20:08:29Z","related":["CVE-2021-3907"],"database_specific":{"cwe_ids":["CWE-20","CWE-22"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2021-11-10T18:16:54Z","nvd_published_at":"2021-11-11T22:15:00Z"},"references":[{"type":"WEB","url":"https://github.com/cloudflare/cfrpki/security/advisories/GHSA-3jhm-87m6-x959"},{"type":"WEB","url":"https://github.com/cloudflare/cfrpki/security/advisories/GHSA-cqh2-vc2f-q4fh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3907"},{"type":"WEB","url":"https://github.com/cloudflare/cfrpki/commit/a053a808feeb3115c76b6cc263ee55598ce6e8cd"},{"type":"WEB","url":"https://github.com/cloudflare/cfrpki/commit/eb9cc4db7b7b79e44f56dfaa959fccdfb2af8284"},{"type":"PACKAGE","url":"https://github.com/cloudflare/cfrpki"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2022-0248"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-5033"},{"type":"WEB","url":"https://www.debian.org/security/2022/dsa-5041"}],"affected":[{"package":{"name":"github.com/cloudflare/cfrpki","ecosystem":"Go","purl":"pkg:golang/github.com/cloudflare/cfrpki"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.4.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/11/GHSA-cqh2-vc2f-q4fh/GHSA-cqh2-vc2f-q4fh.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H"}]}