blob: a75badc7839ad42e75fe0bc8a2ac009873dacb17 [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2024-2730",
"modified": "0001-01-01T00:00:00Z",
"published": "0001-01-01T00:00:00Z",
"withdrawn": "2024-04-17T18:06:23Z",
"related": [
"CVE-2024-3400"
],
"summary": "WITHDRAWN: Directory traversal in FilesystemStore in github.com/gorilla/sessions",
"details": "(This report has been withdrawn on the grounds that it generates too many false positives. Session IDs are documented as not being suitable to hold user-provided data.)\n\nFilesystemStore does not sanitize the Session.ID value, making it vulnerable to directory traversal attacks. If an attacker has control over the contents of the session ID, this can be exploited to write to arbitrary files in the filesystem.\n\nPrograms which do not set session IDs explicitly, or which only set session IDs that will not be interpreted by the filesystem, are not vulnerable.",
"affected": [
{
"package": {
"name": "github.com/gorilla/sessions",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "github.com/gorilla/sessions",
"symbols": [
"CookieStore.Get",
"FilesystemStore.Get",
"FilesystemStore.New",
"FilesystemStore.Save",
"FilesystemStore.erase",
"FilesystemStore.load",
"FilesystemStore.save",
"Registry.Get",
"Registry.Save",
"Save",
"Session.Save"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://github.com/gorilla/sessions/pull/274"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2024-2730",
"review_status": "REVIEWED"
}
}