title: Possible path traversal when storing RRDP responses
description: NLnet Labs’ Routinator 0.9.0 up to and including 0.12.1 contains a possible path traversal vulnerability in the optional, off-by-default keep-rrdp-responses feature that allows users to store the content of responses received for RRDP requests. The location of these stored responses is constructed from the URL of the request. Due to insufficient sanitation of the URL, it is possible for an attacker to craft a URL that results in the response being stored outside of the directory specified for it.
problem types: CWE-35: Path Traversal: '.../...//'
affected:
{
vendor: NLnet Labs
product: Routinator
versions:
version: 0.9.0, status: affected, lessThan: 0.12.2, versionType: semver
version: 0.12.2, status: unaffected, lessThan: *, versionType: semver
defaultStatus: unaffected
}
metrics:
format: CVSS
scenarios: rrdp-keep-responses enabled
cvssV3_1: [
version: 3.1
baseScore: 9.3
baseSeverity: CRITICAL
vectorString: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H
]
solutions: This issue is fixed in 0.12.2 and all later versions. Disabling the rrdp-keep-responses option in affected versions also avoids the issue.