GHSA-cqh2-vc2f-q4fh

Suggest an improvement
Source
https://github.com/advisories/GHSA-cqh2-vc2f-q4fh
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/11/GHSA-cqh2-vc2f-q4fh/GHSA-cqh2-vc2f-q4fh.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-cqh2-vc2f-q4fh
Aliases
Published
2021-11-10T20:08:29Z
Modified
2024-08-21T15:41:41.341758Z
Severity
  • 7.4 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H CVSS Calculator
Summary
Arbitrary filepath traversal via URI injection
Details

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.

Patches

For more information

If you have any questions or comments about this advisory email us at security@cloudflare.com

Database specific
{
    "nvd_published_at": "2021-11-11T22:15:00Z",
    "cwe_ids": [
        "CWE-20",
        "CWE-22"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2021-11-10T18:16:54Z"
}
References

Affected packages

Go / github.com/cloudflare/cfrpki

Package

Name
github.com/cloudflare/cfrpki
View open source insights on deps.dev
Purl
pkg:golang/github.com/cloudflare/cfrpki

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.4