GHSA-h8g9-6gvh-5mrc

Suggest an improvement
Source
https://github.com/advisories/GHSA-h8g9-6gvh-5mrc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-h8g9-6gvh-5mrc/GHSA-h8g9-6gvh-5mrc.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-h8g9-6gvh-5mrc
Published
2022-10-06T23:12:38Z
Modified
2022-10-06T23:12:38Z
Summary
etcd vulnerable to TOCTOU of gateway endpoint authentication
Details

Vulnerability type

Authentication

Workarounds

Refer to the gateway documentation. The vulnerability was spotted due to unclear documentation of how the gateway handles endpoints validation.

Detail

The gateway only authenticates endpoints detected from DNS SRV records, and it only authenticates the detected endpoints once. Therefore, if an endpoint changes its authentication settings, the gateway will continue to assume the endpoint is still authenticated. The auditors has noted that appropriate documentation of this validation functionality plus deprecation of this misleading functionality is an acceptable path forward.

References

Find out more on this vulnerability in the security audit report

For more information

If you have any questions or comments about this advisory:

Database specific
{
    "cwe_ids":  [
        "CWE-367"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2022-10-06T23:12:38Z",
    "nvd_published_at":  null,
    "severity":  "LOW"
}
References

Affected packages

Go / go.etcd.io/etcd/v3

Package

Name
go.etcd.io/etcd/v3
View open source insights on deps.dev
Purl
pkg:golang/go.etcd.io/etcd/v3

Affected ranges

Type
SEMVER
Events
Introduced
3.4.0
Fixed
3.4.10

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-h8g9-6gvh-5mrc/GHSA-h8g9-6gvh-5mrc.json"

Go / go.etcd.io/etcd/v3

Package

Name
go.etcd.io/etcd/v3
View open source insights on deps.dev
Purl
pkg:golang/go.etcd.io/etcd/v3

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-h8g9-6gvh-5mrc/GHSA-h8g9-6gvh-5mrc.json"