GO-2021-0102

Source
https://pkg.go.dev/vuln/GO-2021-0102
Import Source
https://vuln.go.dev/ID/GO-2021-0102.json
JSON Data
https://api.test.osv.dev/v1/vulns/GO-2021-0102
Aliases
Published
2021-07-28T18:08:05Z
Modified
2024-05-20T16:03:47Z
Summary
Panic in decryption in code.cloudfoundry.org/gorouter
Details

Due to improper input validation, a maliciously crafted input can cause a panic, due to incorrect nonce size. If this package is used to decrypt user supplied messages without checking the size of supplied nonces, this may be used as a vector for a denial of service attack.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2021-0102"
}
References

Affected packages

Go / code.cloudfoundry.org/gorouter

Package

Name
code.cloudfoundry.org/gorouter
View open source insights on deps.dev
Purl
pkg:golang/code.cloudfoundry.org/gorouter

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0.0-20191101214924-b1b5c44e050f

Ecosystem specific

{
    "imports": [
        {
            "path": "code.cloudfoundry.org/gorouter/common/secure",
            "symbols": [
                "AesGCM.Decrypt"
            ]
        }
    ]
}

Go / github.com/cloudfoundry/gorouter

Package

Name
github.com/cloudfoundry/gorouter
View open source insights on deps.dev
Purl
pkg:golang/github.com/cloudfoundry/gorouter

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0.0-20191101214924-b1b5c44e050f

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/cloudfoundry/gorouter/common/secure",
            "symbols": [
                "AesGCM.Decrypt"
            ]
        }
    ]
}