CVE-2021-3907 Arbitrary filepath traversal via URI injection
CriticalCVSS 9.8
EPSS 4.2%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cloudflare github.com/cloudflare/cfrpki(Go) | < 1.4.3 | 1.4.3 |
| cloudflare github.com/cloudflare/cfrpki(Go) | < 1.4.4 | 1.4.4 |
| debian/cfrpki(Debian:12) | < 1.4.0-1 | 1.4.0-1 |
| debian/fort-validator(Debian:12) | < 1.5.3-1 | 1.5.3-1 |
| debian/fort-validator(Debian:13) | < 1.5.3-1 | 1.5.3-1 |
| debian/fort-validator(Debian:14) | < 1.5.3-1 | 1.5.3-1 |
| cloudflare OctoRPKI | < 1.3.0 | 1.3.0 |
| debian linux | = 10.0 | No fix listed |
| debian linux | = 11.0 | No fix listed |
| cloudflare OctoRPKI | < 1.4.3 | 1.4.3 |
| ubuntu/fort-validator(Ubuntu:Pro:20.04) | All versions | No fix listed |
| ubuntu/fort-validator(Ubuntu:Pro:20.04) | = 1.1.1-2 | No fix listed |
| ubuntu/fort-validator(Ubuntu:Pro:20.04) | = 1.1.2-1 | No fix listed |
| ubuntu/fort-validator(Ubuntu:Pro:20.04) | = 1.1.3-1 | No fix listed |
| ubuntu/fort-validator(Ubuntu:Pro:20.04) | = 1.2.0-1 | No fix listed |
| ubuntu/fort-validator(Ubuntu:Pro:20.04) | = 1.2.0-1ubuntu0.1~esm1 | No fix listed |
References
- github.com vendor-advisory
- github.com issue-tracking patch
- github.com patch
- github.com
- github.com
- github.com product
- github.com third-party-advisory vendor-advisory
- github.com issue-tracking third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- pkg.go.dev
- DSA-5033 third-party-advisory vendor-advisory
- DSA-5041 third-party-advisory vendor-advisory
- github.com
- Debian Security Tracker CVE-2021-3907 vendor-advisory
- ubuntu.com issue-tracking
- www.cve.org issue-tracking