blob: becd323f02ec804d7ed39374d397a30d129c383d [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2022-0248",
"modified": "0001-01-01T00:00:00Z",
"published": "2022-07-15T23:07:18Z",
"aliases": [
"CVE-2021-3907",
"GHSA-cqh2-vc2f-q4fh",
"GHSA-8459-6rc9-8vf8"
],
"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"
}
}