HIGH8.8
GHSA-5gjm-fj42-x983
etcd Cross-site Request Forgery (CSRF)
Quick fix
GHSA-5gjm-fj42-x983 — go.etcd.io/etcd/v3: upgrade to the fixed version with the command below.
go get go.etcd.io/etcd/v3@v3.4.0Details
A cross-site request forgery flaw was found in etcd 3.3.1 and earlier. An attacker can set up a website that tries to send a POST request to the etcd server and modify a key. Adding a key is done with PUT so it is theoretically safe (can't PUT from an HTML form or such) but POST allows creating in-order keys that an attacker can send.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-1098[ADVISORY]
- https://github.com/coreos/etcd/issues/9353[WEB]
- https://github.com/coreos/etcd/commit/a7e5790c82039945639798ae9a3289fe787f5e56[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=1552714[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JX7QTIT465BQGRGNCE74RATRQLKT2QE4[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UPGYHMSKDPW5GAMI7BEP3XQRVRLLBJKS[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JX7QTIT465BQGRGNCE74RATRQLKT2QE4[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UPGYHMSKDPW5GAMI7BEP3XQRVRLLBJKS[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:golang/go.etcd.io/etcd/v3"]}'