GO-2023-2048

Source
https://pkg.go.dev/vuln/GO-2023-2048
Import Source
https://vuln.go.dev/ID/GO-2023-2048.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2023-2048
Aliases
Published
2023-09-13T19:45:03Z
Modified
2024-05-20T16:03:47Z
Summary
Paths outside of the rootfs could be produced on Windows in github.com/cyphar/filepath-securejoin
Details

Certain rootfs and path combinations result in generated paths that are outside of the provided rootfs on Windows.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2023-2048"
}
References
Credits
    • @pjbgf

Affected packages

Go / github.com/cyphar/filepath-securejoin

Package

Name
github.com/cyphar/filepath-securejoin
View open source insights on deps.dev
Purl
pkg:golang/github.com/cyphar/filepath-securejoin

Affected ranges

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

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/cyphar/filepath-securejoin",
            "symbols": [
                "SecureJoin",
                "SecureJoinVFS"
            ],
            "goos": [
                "windows"
            ]
        }
    ]
}