GO-2023-2163

Source
https://pkg.go.dev/vuln/GO-2023-2163
Import Source
https://vuln.go.dev/ID/GO-2023-2163.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2023-2163
Aliases
Published
2023-11-02T21:47:24Z
Modified
2024-05-20T16:03:47Z
Summary
Curve KeyPairs fail to encrypt in github.com/nats-io/nkeys
Details

Curve KeyPairs always use the same (all-zeros) key to encrypt data, and provide no security.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2023-2163"
}
References
Credits
    • Quentin Matillat (GitHub @tinou98)

Affected packages

Go / github.com/nats-io/nkeys

Package

Name
github.com/nats-io/nkeys
View open source insights on deps.dev
Purl
pkg:golang/github.com/nats-io/nkeys

Affected ranges

Type
SEMVER
Events
Introduced
0.4.0
Fixed
0.4.6

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/nats-io/nkeys",
            "symbols": [
                "ckp.Open",
                "ckp.Seal",
                "ckp.SealWithRand",
                "decodePubCurveKey"
            ]
        }
    ]
}