Directory Traversal Affecting github.com/cloudflare/cfrpki/validator/pki package, versions <v1.4.0


0.0
high

Snyk CVSS

    Attack Complexity High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 5.11% (93rd percentile)
Expand this section
NVD
9.8 critical

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-GOLANG-GITHUBCOMCLOUDFLARECFRPKIVALIDATORPKI-1915649
  • published 11 Nov 2021
  • disclosed 10 Nov 2021
  • credit Unknown

How to fix?

Upgrade github.com/cloudflare/cfrpki/validator/pki to version v1.4.0 or higher.

Overview

Affected versions of this package are vulnerable to Directory Traversal which does not escape a URI with a filename containing "..". This allows a repository to create a file, which would then be written to disk outside the base cache folder.