{"id":"UBUNTU-CVE-2021-3907","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.","modified":"2025-10-10T15:00:46Z","published":"2021-11-11T22:15:00Z","upstream":["CVE-2021-3907"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-3907"},{"type":"REPORT","url":"https://github.com/cloudflare/cfrpki/security/advisories/GHSA-cqh2-vc2f-q4fh"},{"type":"REPORT","url":"https://github.com/cloudflare/cfrpki/commit/a053a808feeb3115c76b6cc263ee55598ce6e8cd"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-3907"}],"affected":[{"package":{"name":"fort-validator","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/fort-validator@1.2.0-1ubuntu0.1~esm1?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.1-2","1.1.2-1","1.1.3-1","1.2.0-1","1.2.0-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.0-1ubuntu0.1~esm1","binary_name":"fort-validator"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3907.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}