CVE-2021-3907 Information

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.

CVSS Vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Reference

https://github.com/cloudflare/cfrpki/security/advisories/GHSA-cqh2-vc2f-q4fh https://www.debian.org/security/2021/dsa-5033 https://www.debian.org/security/2022/dsa-5041

Attack Complexity

LOW

Privileges Required

NONE

User Interaction Required

NONE

Scope

NONE

Confidentiality Impact

UNCHANGED

Integrity Impact

HIGH

Availability Impact

HIGH

Base Score

HIGH

Base Severity

9.8

Share on: