{"schema_version":"1.3.1","id":"GO-2022-0248","modified":"2024-05-20T16:03:47Z","published":"2022-07-15T23:07:18Z","aliases":["CVE-2021-3907","GHSA-cqh2-vc2f-q4fh","GHSA-8459-6rc9-8vf8"],"related":["GHSA-3jhm-87m6-x959"],"summary":"Directory traversal in manifest path extraction in github.com/cloudflare/cfrpki","details":"Manifest path extraction is vulnerable to directory traversal attacks.\n\nThe ExtractPathManifest function permits file paths containing relative directory components (\"..\"), permitting files to reference arbitrary locations on the filesystem.","affected":[{"package":{"name":"github.com/cloudflare/cfrpki","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.4.4"}]}],"ecosystem_specific":{"imports":[{"path":"github.com/cloudflare/cfrpki/validator/pki","symbols":["ExtractPathManifest","SimpleManager.Explore","SimpleManager.ExploreAdd","Validator.AddManifest","Validator.AddResource"]}]}}],"references":[{"type":"FIX","url":"https://github.com/cloudflare/cfrpki/commit/eb9cc4db7b7b79e44f56dfaa959fccdfb2af8284"},{"type":"FIX","url":"https://github.com/cloudflare/cfrpki/commit/a053a808feeb3115c76b6cc263ee55598ce6e8cd"}],"credits":[{"name":"Koen van Hove"}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0248","review_status":"REVIEWED"}}