Security mailing lists by PureSourceCode

GO-2024-2730

not scored yetwithdrawn / rejected

WITHDRAWN: Directory traversal in FilesystemStore in github.com/gorilla/sessions

(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.)

FilesystemStore 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.

Programs which do not set session IDs explicitly, or which only set session IDs that will not be interpreted by the filesystem, are not vulnerable.

Published
17 Apr 2024
Last modified
4 Feb 2026
Sources
OSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/gorilla/sessions all versions

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Apr 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.