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.
Solution:
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
https://github.com/cloudflare/cfrpki/security/advisories/GHSA-cqh2-vc2f-q4fh | third party advisory |
https://www.debian.org/security/2021/dsa-5033 | third party advisory vendor advisory |
https://www.debian.org/security/2022/dsa-5041 | third party advisory vendor advisory |
https://github.com/cloudflare/cfrpki/security/advisories/GHSA-3jhm-87m6-x959 | third party advisory |